You can generate and manage API keys from your Cortex Dashboard. All endpoints require an API key sent as a Bearer token in the Authorization header.
Base URL: https://api.usecortex.ai
Contact us to get your API key at founders@usecortex.ai
/upload/upload_document
— Upload single documents/upload/upload_text
— Upload text/markdown content/upload/upload_app_sources
— Import from workplace apps (Gmail, Slack, etc.)/upload/scrape_webpage
— Scrape and index web content/upload/verify_processing
— Check upload processing status/upload/batch_upload
— Upload multiple files at once/search/qna
— Main search endpoint with AI-powered responses. Supports optional metadata
parameter to filter sources by source_title
or source_type
./search/retrieve
— Raw content search without AI generation. Returns structured search results for custom processing./list/sources
— Browse all indexed sources/list/sources_by_id
— Get specific sources by ID/fetch/fetch_content
— Retrieve file content and download URLs/delete_source
— Remove sources from knowledge base/user_memory/list_user_memories
— Browse user memories/user_memory/retrieve_user_memory
— Get specific user memories/user_memory/add_user_memory
— Manually add user-specific memories/user_memory/generate_user_memory
— AI-generated personalized memories/user_memory/delete_user_memory
— Remove user memoriessource_title
, source_type
in the QnA API) for fine-grained filtering and agentic retrieval.