Skip to main content
POST
/
api
/
v1
/
disks
/
batch
Batch Get Disks
curl --request POST \
  --url https://api.example.com/api/v1/disks/batch \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "<string>"
  ]
}
'
{
  "disks": [
    {}
  ],
  "not_found": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.skilldiscs.com/llms.txt

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

Reduces the latency overhead of fanning out parallel requests to /disks/{id}.

Request

ids
string[]
required
Array of Disk UUIDs or public_ids. Max 10 per call.

Example

curl -X POST https://skilldiscs.com/api/v1/disks/batch \
  -H "Authorization: Bearer sk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"ids": ["abc123", "def456", "ghi789"]}'

Response

disks
array
Same shape as /disks/{id} minus related_disks, source, source_url.
not_found
string[]
IDs from the request that did not match any Disk you own.
{
  "disks": [
    {
      "public_id": "abc123",
      "title": "Feynman on Quantum Mechanics",
      "summary": "...",
      "text": "...",
      "category": "science",
      "word_count": 4231,
      "tags": ["physics"],
      "sections": [
        { "index": 0, "text": "...", "word_count": 612, "key_points": ["..."] }
      ],
      "created_at": "2026-04-12T08:14:09.000Z"
    }
  ],
  "not_found": ["ghi789"]
}

Errors

StatusCodeMeaning
400bad_requestids missing or not an array
400batch_too_largeMore than 10 ids — split the request
401unauthorizedBad / missing API key
429rate_limit_exceeded>100 req/min