Export
Export copilot configurations for backup or migration purposes.
**IMPORTANT**: This endpoint requires:
- Admin privileges
- The 'ai-usage-analytics-log.export' scope on the API key
Returns all deployed copilots with their full configuration including model settings, tools, and deployment details. Optional date filters can be applied to narrow down results.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
agentCreatedFrom
Filter copilots created on or after this datetime (ISO 8601 format).
agentCreatedTo
Filter copilots created before or on this datetime (ISO 8601 format).
versionCreatedFrom
Filter copilot versions created on or after this datetime (ISO 8601 format).
versionCreatedTo
Filter copilot versions created before or on this datetime (ISO 8601 format).
limit
Maximum number of copilots to return. Must be a positive integer with a maximum value of 1000. Defaults to 100.
cursor
Cursor for pagination. Use the cursor returned in the previous response to fetch the next page of results. If not provided, returns the first page.
Response
This endpoint returns an object.
data
List of exported copilots matching the query filters.
hasMore
Indicates whether there are more results available for pagination.
nextCursor
Cursor to use for fetching the next page of results. This is a UUID string. If null or not present, there are no more results.