Need help? Get answers from the docs with Omni's in-app AI! Log in to your Omni instance and open the Omni Agent in the sidebar.
curl --request GET \
--url https://{instance}.omniapp.co/api/v1/models \
--header 'Authorization: Bearer <token>'{
"pageInfo": {
"hasNextPage": true,
"nextCursor": "<string>",
"pageSize": 123,
"totalRecords": 123
},
"records": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"baseModelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"modelKind": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"branches": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"baseModelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"modelKind": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
]
}
]
}Retrieves a paginated list of models with their metadata.
curl --request GET \
--url https://{instance}.omniapp.co/api/v1/models \
--header 'Authorization: Bearer <token>'{
"pageInfo": {
"hasNextPage": true,
"nextCursor": "<string>",
"pageSize": 123,
"totalRecords": 123
},
"records": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"baseModelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"modelKind": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"branches": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"baseModelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"modelKind": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
]
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Filter models by base model ID.
Filter models by connection ID.
If true, include deleted models.
Filter models by a specific model ID.
Filter by model kind.
SCHEMA, SHARED, SHARED_EXTENSION, WORKBOOK, BRANCH, QUERY, TOPIC, FIELD_PICKER_TOPIC Filter models by name.
Specifies the number of records per page.
Pagination cursor
Sort direction.
asc, desc Field to sort by.
name, modelKind, connectionId, baseModelId, createdAt, updatedAt Comma-separated list of additional fields to include in the response.
activeBranches - Include active branches for each modelactiveBranches Was this page helpful?