API reference · Account
Change a listing
PATCH/api/tools/servers/{id}Signed in session
Same origin. A new url or header sends the server back to verification; the priced tools list replaces the old one whole. A 404 at every path while the operator has not opened the tools market.
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | integer |
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| name | string | |
| description | string | |
| category | string | One of "search", "data", "code", "media", "finance", "chain", "productivity", "other". |
| url | string | |
| header | object or null | |
| header. | string | A header name, lower case. |
| header. | string | Stored encrypted, never returned. |
| payout_address | string | |
| tools | array of object | |
| tools[] | string | |
| tools[] | number | The provider's own price per call in dollars, before the margin. From 0 to 5. |
Example
{}Answer 200
The listings.
| Field | Type | What it is |
|---|---|---|
| servers | array of object |
Errors
- 400OpenAI shaped error.
- 401OpenAI shaped error.
- 404OpenAI shaped error.
- 422OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.