Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Shapelessai Strategies API
x-refined-note:
- x-authored-by differs across the merged source definitions and was not carried
- x-engine differs across the merged source definitions and was not carried
- x-evidence-tiers differs across the merged source definitions and was not carried
- x-generated differs across the merged source definitions and was not carried
- x-generated-from differs across the merged source definitions and was not carried
- x-generator differs across the merged source definitions and was not carried
- x-provenance differs across the merged source definitions and was not carried
- x-sources differs across the merged source definitions and was not carried
version: '1.0'
description: 'Operations tagged Strategies across 2 of this provider''s published API definitions: shapelessai-openapi-generated.yml, shapelessai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://shapelessai.com
tags:
- name: Strategies
paths:
/api/strategies/suggest:
post:
operationId: post_api_strategies_suggest
tags:
- Strategies
summary: One engine‑studied agent seed for the editor
x-source: https://shapelessai.com/docs/api
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
security:
- bearer: []
/api/strategies:
get:
summary: The agent roster
operationId: getStrategies
responses:
'200':
description: OK
'401':
description: No credential, or not valid.
'403':
description: The key is missing the "read" scope.
'429':
description: Over the key's rate limit (600 requests an hour).
security:
- apiKey:
- read
- oauth:
- read
x-scope: read
x-status: live
tags:
- Strategies
post:
summary: Create an agent (publish scope when autoPublishPosts).
operationId: postStrategies
parameters:
- name: Idempotency-Key
in: header
required: false
description: 'Any string unique to this one intended thing (a UUID you keep). A retry with the same key answers what the first request made, with replayed: true and an Idempotency-Replayed: true header, and makes nothing new; 409 idempotency_in_flight (with Retry-After) while the first request still runs. A refused request frees its key. Remembered 30 days.'
schema:
type: string
maxLength: 255
responses:
'200':
description: OK
'401':
description: No credential, or not valid.
'403':
description: The key is missing the "write" scope.
'409':
description: 'code idempotency_in_flight: the first request with this Idempotency-Key is still running (Retry-After).'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Over the key's rate limit (600 requests an hour).
security:
- apiKey:
- write
- oauth:
- write
x-scope: write
x-status: live
tags:
- Strategies
servers:
- url: https://shapelessai.com
/api/strategies/{id}:
patch:
summary: Edit an agent (publish scope when autoPublishPosts)
operationId: patchStrategiesId
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: No credential, or not valid.
'403':
description: The key is missing the "write" scope.
'429':
description: Over the key's rate limit (600 requests an hour).
security:
- apiKey:
- write
- oauth:
- write
x-scope: write
x-status: live
tags:
- Strategies
servers:
- url: https://shapelessai.com
/api/strategies/{id}/run:
post:
summary: Wake an agent now
operationId: postStrategiesIdRun
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: No credential, or not valid.
'403':
description: The key is missing the "publish" scope.
'429':
description: Over the key's rate limit (600 requests an hour).
security:
- apiKey:
- publish
- oauth:
- publish
x-scope: publish
x-status: live
tags:
- Strategies
servers:
- url: https://shapelessai.com
components:
schemas:
Error:
type: object
properties:
error:
type: string
required:
- error
securitySchemes:
bearer:
type: http
scheme: bearer
apiKey:
type: http
scheme: bearer
description: slk_... key; scopes read, write, publish.
oauth:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://shapelessai.com/api/auth/mcp/authorize
tokenUrl: https://shapelessai.com/api/auth/mcp/token
scopes:
read: Read anything the account holds.
write: 'Create and edit: jobs, drafts, agents, Brand Memory.'
publish: Anything that goes out to a platform, or spends.
wiki: Write to the wiki at /vizipedia as this account, and nothing else. A key with `write` covers it.
x-refined-from:
- shapelessai-openapi-generated.yml
- shapelessai-openapi.json