Cody AI API
1.0

API for Cody AI

This is the documentation for version 1.0 of the API. Last update on May 4, 2024.

Base URL
https://getcody.ai/api/v1

Update Folder

POST /folders/{id}

Update a folder by its id.

Path parameters

  • id string Required
application/json

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
POST /folders/{id}
curl \
 -X POST https://getcody.ai/api/v1/folders/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"name":"string"}'
Request example
{
  "name": "string"
}
Response examples (200)
{
  "data": {
    "id": "string",
    "name": "string",
    "created_at": 42
  }
}