API

An AI agent for your REST API

Give it an OpenAPI document and every operation becomes a tool. No document? Describe the endpoints and they compile the same way.

What you get

REST API capabilities, under your rules

  • ✓ API key in a header or query parameter, bearer, basic, or OAuth2 client credentials
  • ✓ Static headers sent with every request
  • ✓ A health check path to confirm the connection is alive
  • ✓ Only public hostnames — private addresses, loopback and cloud metadata endpoints are refused
  • ✓ Hostnames re-checked on every request and every redirect, not trusted once
  • ✓ Per-tool timeouts and rate limits

What you need to connect it

  • Base URL — the root the paths hang off, such as https://api.example.com/v1
  • Health check path — defaults to the base URL
  • Authentication, and any additional headers the API expects
Read the REST API guide

Discovered tools

What a REST API connection turns into

One tool for each thing it can do. Each tool carries an operation type, and that type decides how carefully it is treated: a read runs straight away, and destructive work waits for a person.

discovery · REST API

ready
  • get_orders read
  • post_orders create
  • delete_orders_id delete Approval

Illustrative. Without a key of your own, a described endpoint is named from its method and path.

Human approval

Destructive work waits for a person

approval

waiting
delete_orders_id CRITICAL risk Destructive
Tool
delete_orders_id
Operation
DELETE
Runs against
Orders API
Agent
Operations Agent

Exactly these values

{
    "id": "4471"
}

Your decision applies to these values only. If anything about the call changes, it stops for approval again.

The approval covers this call with these arguments. If the model re-plans, it has to ask again.

FAQ

Connecting REST API: common questions

Something not covered here? Ask us directly.

My API has no OpenAPI document. Can I still connect it?

Yes. Describe the endpoints by hand — method, path and arguments — and they compile into tools the same way an OpenAPI document does.

Can it call an internal or private API?

No. Only public hostnames are allowed: private addresses, loopback and cloud metadata endpoints are refused, and the hostname is re-checked on every request and every redirect rather than trusted once.

Which authentication methods are supported?

An API key in a header or query parameter, a bearer token, basic authentication, or OAuth2 client credentials, plus static headers sent with every request.

Connect REST API to your first agent

Connect one system and read the agent Caterfli writes from it. There is a demo connection too, if you would rather look before you wire anything up.