Skip to main content
Credal | Documentation
current

Search documentation

Type to search this documentation.

Export

POST/v0/copilots/exportExport

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.

Request body

application/json
object
agentCreatedFromstring · date-time

Filter copilots created on or after this datetime (ISO 8601 format).

agentCreatedTostring · date-time

Filter copilots created before or on this datetime (ISO 8601 format).

cursorstring

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.

limitinteger

Maximum number of copilots to return. Must be a positive integer with a maximum value of 1000. Defaults to 100.

versionCreatedFromstring · date-time

Filter copilot versions created on or after this datetime (ISO 8601 format).

versionCreatedTostring · date-time

Filter copilot versions created before or on this datetime (ISO 8601 format).

Example request
{
  "agentCreatedFrom": "2026-06-09T00:00:00Z",
  "agentCreatedTo": "2026-06-09T00:00:00Z",
  "cursor": "string",
  "limit": 0,
  "versionCreatedFrom": "2026-06-09T00:00:00Z",
  "versionCreatedTo": "2026-06-09T00:00:00Z"
}

Responses

200Response with status 200application/json
objectcopilots_ExportCopilotsResponse

ExportCopilotsResponse

dataarray of objectrequired

List of exported copilots matching the query filters.

Show child attributes
Show array items
agentCreatedDatetimestring · date-timerequired

ISO 8601 timestamp when the copilot was originally created.

aiEndpointConfigurationvaluerequired

AI endpoint configuration including base URL and authentication details.

deploymentConfigurationvaluerequired

Deployment settings and configuration.

descriptionstringrequired

The description of the deployed copilot version.

idstring · uuidrequired

The unique identifier of the copilot.

inputsvaluerequired

Input variable configurations for the copilot.

isDeployedbooleanrequired

Indicates if the copilot is currently deployed (always true for export results).

modelConfigurationvaluerequired

Model configuration including provider, model name, temperature, and other settings.

namestringrequired

The name of the deployed copilot version.

toolConfigurationsvaluerequired

List of tool configurations available to the copilot.

versionCreatedDatetimestring · date-timerequired

ISO 8601 timestamp when the deployed version was created.

hasMorebooleanrequired

Indicates whether there are more results available for pagination.

nextCursorstring

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.

Example response
{
  "data": [
    {
      "agentCreatedDatetime": "2026-06-09T00:00:00Z",
      "aiEndpointConfiguration": null,
      "deploymentConfiguration": null,
      "description": "string",
      "id": "00000000-0000-0000-0000-000000000000",
      "inputs": null,
      "isDeployed": true,
      "modelConfiguration": null,
      "name": "string",
      "toolConfigurations": null,
      "versionCreatedDatetime": "2026-06-09T00:00:00Z"
    }
  ],
  "hasMore": true,
  "nextCursor": "string"
}
Documentation menu