Skip to main content
POST
/
api
/
v1
/
projects
/
{project_id}
/
ingest
curl -X POST https://api.intellibase.dev/api/v1/projects/proj-abc123/ingest \
  -H "Authorization: Bearer ib-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Alice joined the engineering team in January 2024. She is working on the authentication feature, which is part of the security module. The feature is scheduled to launch in March 2024.",
    "source_doc_id": "doc-001"
  }'
{
  "job_id": "job-abc123",
  "status": "pending",
  "created_at": "2024-01-15T10:30:00Z"
}

Endpoint

POST https://api.intellibase.dev/api/v1/projects/{project_id}/ingest

Path Parameters

project_id
string
required
The unique identifier of the project

Authentication

Requires a valid API key with access to the project.

Request Body

text
string
required
The raw text content to ingest
source_doc_id
string
required
Unique identifier for this document (used for provenance tracking)

Response

job_id
string
Unique identifier for the ingestion job
status
string
Initial job status: pending or running
created_at
string
When the job was created
curl -X POST https://api.intellibase.dev/api/v1/projects/proj-abc123/ingest \
  -H "Authorization: Bearer ib-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Alice joined the engineering team in January 2024. She is working on the authentication feature, which is part of the security module. The feature is scheduled to launch in March 2024.",
    "source_doc_id": "doc-001"
  }'
{
  "job_id": "job-abc123",
  "status": "pending",
  "created_at": "2024-01-15T10:30:00Z"
}
Job Status: Use the Get Job endpoint to poll for completion status.
Rate Limits: Ingestion is limited to 10 requests per minute. Also check your token usage limits.