List Folders

GET /folders

Get all folders

Query parameters

  • keyword string

    Keyword to filter the list to folders that partially match the name.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • data array[object]
      Hide data attributes Show data attributes object
      • id string
      • name string
      • created_at integer(int64)
    • meta object
      Hide meta attribute Show meta attribute object
      • pagination object
        Hide pagination attributes Show pagination attributes object
        • count integer
        • total integer
        • per_page integer
        • total_pages integer
        • next_page integer | null
        • previous_page integer | null
GET /folders
curl \
 --request GET 'https://getcody.ai/api/v1/folders' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "id": "string",
      "name": "string",
      "created_at": 42
    }
  ],
  "meta": {
    "pagination": {
      "count": 42,
      "total": 42,
      "per_page": 42,
      "total_pages": 42,
      "next_page": 42,
      "previous_page": 42
    }
  }
}