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

app_id
string
required

Query Parameters

visibility
enum<string>
Available options:
ALL,
PUBLIC,
PRIVATE
tags
string[]
page
number
take
number

Response

200 - application/json
id
string
required
name
string
required
description
string | null
required
app
object
required
config
object | null
required
visibility
enum<string>
required
Available options:
PUBLIC,
PRIVATE
tags
object[]
required
records_count
number
required
created_at
string | null
required
updated_at
string | null
required