01.software Docs

API

Use OpenAPI and direct HTTP when you need machine-readable contracts.

API

Use direct HTTP as an escape hatch when the SDK is not suitable or a non-TypeScript service needs a machine-readable contract. Shell-capable coding agents should use the CLI so discovery, output, and errors remain machine-stable.

Contract Sources

ResourceUse for
/api/openapiendpoint paths, parameters, auth, responses, examples
https://api.01.softwareproduction API origin
/developers/cli.mdxmachine-readable CLI guide for shell-capable agents
/llms-full.txtbroad human-readable context for AI tools
/api/searchtargeted docs search

Authentication

  • Browser reads use Publishable Key and allowed origins.
  • Server writes require trusted server credentials.
  • User-scoped operations should stay tied to the current human user.
  • Agent CLI credentials use the same trusted secret boundary as server SDK work.
  • Hosted MCP is limited to read-only discovery; OpenAPI remains the direct HTTP contract.

Response Handling

  • Treat validation errors as product copy inputs, not raw customer messages.
  • Log request identifiers and status categories without logging secrets.
  • Keep retries bounded and idempotent where possible.

Prefer the SDK when it fits the project. Use direct HTTP for service-to-service, generated-client, or non-TypeScript integration needs.

Next Actions

  • Need default implementation path: open SDK.
  • Need a shell-capable agent path: open CLI.
  • Need hosted, shell-less discovery: open MCP.
  • Need delivery events: open Webhooks.

On this page