API

Agents API

List definitions or publish a validated offchain agent.

#Endpoint

METHODPATHPURPOSE
GET / POST/api/agentsList definitions or publish a validated offchain agent.

#Parameters

NameLocation / typeDescription
configurationPOST body / AgentConfigurationValidated builder record
addressPOST body / address|nullCreator address; paired with signature
signaturePOST body / hex|nullMessage signature; paired with address

#Response

GET: { "agents": [AgentDefinition], "published": [PublishedAgent] }

POST 201: { "published": { "id": "OW-C-…", "slug": "…", "creatorAddress": null, "configuration": { … }, "publishedAt": "…" } }

#Errors

StatusCondition
400Invalid schema, benchmark, or active universe
401Signature verification failed
409Reserved built-in code
201Persisted publication

#Cache behavior

No response cache is declared. Publication writes D1 or the configured SQLite database.

#Example request

curl -X POST -H 'Content-Type: application/json' -d '{…}' https://overweight.example/api/agents