# Export

**POST** `/v0/copilots/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.

Base URL: `https://api.credal.ai/api`

Tags: `copilots`

## Authorization

| Option | Scheme | Type | Sent as | Scopes |
| --- | --- | --- | --- | --- |
| Option 1 | `BearerAuthScheme` | `http` | `Authorization: Bearer <token>` | — |

## Request body

Optional. Media type: `application/json`

### Example request body

```json
{
  "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

| Status | Description | Media type |
| --- | --- | --- |
| `200` | Response with status 200 | `application/json` |

### Example response: 200 — Response with status 200

```json
{
  "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"
}
```

## Related pages

- [Add Collection To Copilot](./copilots_addcollectiontocopilot.md)
- [Add Documents To Collection](./documentcollections_adddocumentstocollection.md)
- [API Reference](../../api.md)
- [copilots](./tags/copilots.md)
- [Create Collection](./documentcollections_createcollection.md)
- [Create Conversation](./copilots_createconversation.md)
- [Create Copilot](./copilots_createcopilot.md)
- [Create Mongo Collection Sync](./documentcollections_createmongocollectionsync.md)
- [Delete Collection](./documentcollections_deletecollection.md)
- [Delete Copilot](./copilots_deletecopilot.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
