curl --request POST \
--url https://useorgx.com/api/v1/context-pack \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspace_id": "10000000-0000-4000-8000-000000000001"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({workspace_id: '10000000-0000-4000-8000-000000000001'})
};
fetch('https://useorgx.com/api/v1/context-pack', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://useorgx.com/api/v1/context-pack"
payload = { "workspace_id": "10000000-0000-4000-8000-000000000001" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"context_delivery": {
"schema_version": "orgx.context-delivery/v1",
"mode": "full",
"consistency": "best_effort_multi_read",
"completeness": "unknown",
"base_verified": false,
"reusable_for_consequential_action": false,
"rebootstrap_required": false,
"accounting": {
"model_input_tokens": null,
"tokenizer": null,
"source_expansion_tokens": null
},
"performance_profile": "unqualified_best_effort"
}
}
}Prepare current context or safely rebootstrap a prior capsule
Returns freshly authorized context. Workspace capsule sources share a database snapshot; entity packs can include separate goal-frame reads. Opt into delivery_mode=delta for exact byte reconstruction against an acknowledged context version. Unknown bases rebootstrap. Transport identity never grants action authority. Model input usage remains separate from optional pinned payload-token accounting. Preparation reads current sources on every call.
curl --request POST \
--url https://useorgx.com/api/v1/context-pack \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspace_id": "10000000-0000-4000-8000-000000000001"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({workspace_id: '10000000-0000-4000-8000-000000000001'})
};
fetch('https://useorgx.com/api/v1/context-pack', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://useorgx.com/api/v1/context-pack"
payload = { "workspace_id": "10000000-0000-4000-8000-000000000001" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"context_delivery": {
"schema_version": "orgx.context-delivery/v1",
"mode": "full",
"consistency": "best_effort_multi_read",
"completeness": "unknown",
"base_verified": false,
"reusable_for_consequential_action": false,
"rebootstrap_required": false,
"accounting": {
"model_input_tokens": null,
"tokenizer": null,
"source_expansion_tokens": null
},
"performance_profile": "unqualified_best_effort"
}
}
}Authorizations
OrgX API key, sent as Authorization: Bearer oxk_...
Headers
Accepted for forward compatibility. Replay safety for this operation comes from its own state checks, described on the operation.
1 - 200^[A-Za-z0-9][A-Za-z0-9._:/-]{0,199}$Body
- Option 1
- Option 2
- Option 3
- Option 4
^capsule_[0-9a-f]{24}$Prepared returns one scoped capsule with an 8 KiB serialized data bound. Oversized output fails explicitly. Use the full profile for delta transfer.
full, prepared full, delta ^sha256:[a-f0-9]{64}$o200k_base, cl100k_base Requires reader_tokenizer. Oversized required context fails explicitly.
x >= 1