Collections spy logoCollections

Consumer API

Issue scoped API keys for LLM pipelines, agents, and downstream apps to query Markdown feeds or trigger crawls.

Generate API Key

Issued Keys

No API keys yet. Create one above to authenticate external requests.
REST API Reference
1. Instant Single-URL Scrape (POST /api/v1/scrape)
curl -X POST "https://collections.thetells.ai/api/public/v1/scrape" \
  -H "Authorization: Bearer col_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.sec.gov/","source_type":"web","save":true}'
2. Multi-Item Source Crawl (POST /api/v1/crawl)
curl -X POST "https://collections.thetells.ai/api/public/v1/crawl" \
  -H "Authorization: Bearer col_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.federalregister.gov/api/v1/documents.json?per_page=3","source_type":"federal_register","max_items":3,"save":true}'
3. Read & Subscribe to Feeds (GET / POST /api/v1/feeds)
curl -H "Authorization: Bearer col_live_YOUR_API_KEY" \
  "https://collections.thetells.ai/api/public/v1/feeds?source_type=federal_register&limit=10"

# Subscribe to an industry feed pack programmatically:
curl -X POST "https://collections.thetells.ai/api/public/v1/feeds" \
  -H "Authorization: Bearer col_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pack_slug":"global_macro_trade"}'

External callers use /api/public/v1/* with an API key; these paths bypass the site sign-in, not API authorization.

4. External Worker Results (POST /api/public/v1/ingest)
curl -X POST "https://collections.thetells.ai/api/public/v1/ingest" \
  -H "Authorization: Bearer col_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"worker_id":"playwright-container-1","status":"success","duration_ms":2300,"documents":[{"title":"Energy announcement","source_url":"https://www.opec.org/press-releases.html","source_type":"web","markdown_content":"# Energy announcement\n\nExtracted article text.","language":"en","http_status":200}]}'

Required scope: crawl:write. Maximum 20 documents, 100,000 characters per document, and 1 MB per request. Optional schedule_id links results to a crawl job. Failure reports use status: "error" and error_message without documents.