Skip to main content
GET
/
documents
/
sections
/
{sectionID}
/
versions
cURL
curl --request GET \
  --url https://api.{environment}.corti.app/v2/documents/sections/{sectionID}/versions/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Tenant-Name: <tenant-name>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "versionNumber": 123,
    "generation": {
      "heading": "<string>",
      "instructions": {
        "contentPrompt": "<string>",
        "writingStylePrompt": "<string>",
        "miscPrompt": "<string>"
      },
      "outputSchema": {
        "description": "<string>",
        "default": "<string>",
        "enum": [
          "<string>"
        ],
        "pattern": "<string>"
      }
    },
    "deletedAt": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.corti.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Input your token

Headers

Tenant-Name
string
required

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:

"base"

Path Parameters

sectionID
string<uuid>
required

Response

OK — returns raw (unresolved) section versions

id
string<uuid>
required

The UUID of the section version.

versionNumber
integer
required

Starts at 0 and auto-increments.

generation
object
required
deletedAt
string<date-time> | null

Present when the section version has been deleted.