v1

latestOpenAPI 3.0.22026-07-261040577.4 KB
Projects

Add project context doc

Add an insight to the project's AI context. A project can have at most 10 context docs. If the insight is already linked, this is a no-op.

Returns the full updated list of context docs.

🚧 Permissions

Please check you have the relevant permissions required to access this resource. This may include specific permissions on the object itself or its parent, or having the correct user role if you're making updates.

post/v1/projects/{project_id}/context/docs

Path parameters

project_idstring required

Unique identifier of the project.

Request body

idstring required

Unique identifier of the doc to add to the project's AI context.

Example request

{
  "id": "1A2B3C4D5E6F7G8H9I0J1K"
}

Response

200