Developer docs
Ingest Srf
POST
/v1/ingest/srf
const url = 'https://example.com/v1/ingest/srf';const options = {method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/ingest/srf \ --header 'Content-Type: application/json' \ --data '{}'Accept one native SRF decision, write it to custody and the index. Idempotent on decision_id.
v0 writes custody inline with the local signer (sub-millisecond). When the KMS backend lands this enqueues a custody job and returns immediately.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Payload
object
key
additional properties
any
Examplegenerated
{}Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
Response Ingest Srf V1 Ingest Srf Post
object
key
additional properties
any
Examplegenerated
{}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}