Collections
Get Collections
API Reference
Collections
Records
Workflows
- GETDiscover Workflows
- GETGet Discoverable Workflow
- GETGet Discoverable Workflow Version
- POSTRun Discoverable Workflow
- POSTCancel a Discoverable Workflow Run
- GETGet Workflows
- GETGet a Workflow
- GETGet Workflow Runs
- POSTRun a Workflow
- POSTReplay a Workflow Run
- GETGet a Workflow Run
- POSTCancel a Workflow Run
- GETGet Workflow Versions
- GETGet a Workflow Version
Tests
Variables
Collections
Get Collections
Get a list of all collections of your app.
GET
/
apps
/
{app_id}
/
collections
curl --request GET \
--url https://api.withcortex.ai/apps/{app_id}/collections
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"app": {
"id": "<string>",
"name": "<string>",
"verified": true
},
"config": {
"id": "<string>",
"rules": [
{
"name": "<string>",
"key": "<string>",
"execution_order": "<string>",
"on_success": "PASS",
"on_fail": "PASS",
"workflow_id": "<string>",
"workflow_version_id": "<string>",
"workflow_use_latest": true,
"workflow_input_default": {},
"disabled": true
}
],
"mappings": [
{
"source_path": "<string>",
"destination_paths": [
"<string>"
]
}
],
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
},
"visibility": "PUBLIC",
"tags": [
{
"id": "<string>",
"name": "<string>",
"app_id": "<string>",
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
}
],
"records_count": 123,
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
}
]
Path Parameters
Query Parameters
Available options:
ALL
, PUBLIC
, PRIVATE
Response
200 - application/json
Available options:
PASS
, FAIL
, WARN
Available options:
PASS
, FAIL
, WARN
Available options:
PUBLIC
, PRIVATE
Was this page helpful?
curl --request GET \
--url https://api.withcortex.ai/apps/{app_id}/collections
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"app": {
"id": "<string>",
"name": "<string>",
"verified": true
},
"config": {
"id": "<string>",
"rules": [
{
"name": "<string>",
"key": "<string>",
"execution_order": "<string>",
"on_success": "PASS",
"on_fail": "PASS",
"workflow_id": "<string>",
"workflow_version_id": "<string>",
"workflow_use_latest": true,
"workflow_input_default": {},
"disabled": true
}
],
"mappings": [
{
"source_path": "<string>",
"destination_paths": [
"<string>"
]
}
],
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
},
"visibility": "PUBLIC",
"tags": [
{
"id": "<string>",
"name": "<string>",
"app_id": "<string>",
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
}
],
"records_count": 123,
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
}
]