Register agent
POST/api/agents
Registers an agent from a GitHub repo, sub-path and ref, read with the caller's own GitHub connection and pinned to the resolved commit; env sets its environment variables. Returns 201 with the agent, or 422 listing each reason in errors when the repo cannot be read or is not a valid agent, in which case nothing is stored.
Request
Responses
- 201
- 422
Created
Unprocessable content