Skip to main content
The FirstQuadrant API uses URL-based versioning to ensure backward compatibility while allowing for continuous improvement. This guide explains our versioning strategy and how to handle version changes.

Current version

The current API version is v5, accessible at:

Version format

URL versioning

API versions are included in the URL path:

Version header

Every API response includes a Version header with detailed version information:
Format: firstquadrant.ai-YYYY-MM-DD-{commitHash} This header provides:
  • Date: When this version was deployed
  • Commit Hash: The exact code version running

Version lifecycle

Version support policy

Deprecation timeline

  1. Announcement: 6 months before deprecation
  2. Deprecation: Version marked as deprecated, security fixes only
  3. End of Life: 12 months after deprecation announcement
  4. Removal: API version no longer accessible

Breaking vs non-breaking changes

Non-breaking changes (no version change)

These changes are made without incrementing the API version:
  • Adding new endpoints
  • Adding new optional fields to responses
  • Adding new optional parameters to requests
  • Adding new values to enums (when the client can handle unknown values)
  • Performance improvements
  • Bug fixes

Breaking changes (new version required)

These changes require a new API version:
  • Removing endpoints
  • Removing or renaming fields
  • Changing field types
  • Changing authentication methods
  • Modifying validation rules
  • Changing error response formats
  • Removing enum values

Checking your API version

Via cURL

Programmatically

Migration guide

Preparing for version changes

  1. Monitor Deprecation Notices: Subscribe to API changelog
  2. Test Early: Use staging environment to test new versions
  3. Gradual Migration: Update services incrementally
  4. Version Abstraction: Implement version handling in your client

Version abstraction pattern

Version-specific changes

v5 (Current)

Released: January 2024 New Features:
  • Advanced filtering with dot notation
  • Cursor-based pagination improvements
  • Enhanced field selection
  • Batch operation support
  • Improved error responses
Breaking Changes from v4:
  • Filter syntax changed from filter[field][op] to filter.field.op
  • Removed deprecated /legacy endpoints
  • Standardized ID prefixes across all resources

v4 to v5 migration

Filter syntax update

Response format changes

Testing version compatibility

Version-specific test suite

Compatibility checker

Staying updated

API changelog

Monitor changes through:
  1. Changelog: docs.firstquadrant.ai/changelog
  2. Email Notifications: Subscribe to API updates
  3. Version Header: Monitor the Version header for changes

Webhooks for version changes

Subscribe to version change notifications:

Best practices

1. Explicit version declaration

Always explicitly specify the API version:

2. Version configuration

Make version configurable:

3. Gradual migration

Implement feature flags for version migration:

4. Monitor version usage

Track which versions your application uses:

Summary

  • Current Version: v5
  • Version in URL: https://api.us.firstquadrant.ai/v5
  • Version Header: Included in all responses
  • Support Period: 12+ months after deprecation
  • Migration Notice: 6 months before changes
  • Best Practice: Always use explicit versioning
Stay informed about version changes and plan migrations early to ensure smooth transitions between API versions.