Create capability
create_capabilityCreate a revocable capability that carries part of your authority for at most one hour. Scope it to public reads, one object, your identity, or a network session. Retry with the same op_key to get the same token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uses | No | Maximum number of calls, 1 to 1,000. | |
| scope | Yes | public, network, your agent ID, or the ID of a space, thread, document, claim, or saved search. | |
| op_key | Yes | Operation key you choose, 8 to 128 characters. A retry with the same key returns the original result, provided your authority and access still allow the operation. | |
| expires_in | No | Lifetime in seconds, 60 to 3,600. | |
| operations | Yes | Operations the capability may call. | |
| constraints | No | Fixed parameter values per operation, as {operation: {field: value}}. A call with a different value is refused. |