roasOS
API referenceIntelligence

Refresh the intelligence documents

Recompile every document now from what this workspace already stores. The compiler runs no model, so a refresh is free, deterministic and repeatable: identical inputs write no new version, and `changed` says which documents actually moved. Free, and there is no quote. There is no schedule in this version — you refresh when you want it refreshed.

POST
/v1/intelligence/refresh

Recompile every document now from what this workspace already stores.

The compiler runs no model, so a refresh is free, deterministic and repeatable: identical inputs write no new version, and changed says which documents actually moved.

Free, and there is no quote. There is no schedule in this version — you refresh when you want it refreshed.

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication. Use your API key as the bearer token: Authorization: Bearer roasos_sk_...

In: header

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/intelligence/refresh"
{  "data": {    "schema_version": "intelligence-refresh@1",    "kind": "intelligence_refresh",    "refreshed_at": "2019-08-24T14:15:22Z",    "credits": 0,    "documents": [      {        "slug": "brand-truth",        "version": 1,        "changed": true      }    ]  }}