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 Metrics 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 Metrics 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: Metrics
paths:
/api/metrics/refresh:
post:
operationId: post_api_metrics_refresh
tags:
- Metrics
summary: Refresh stale samples (calls the platforms)
x-source: https://shapelessai.com/docs/api
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
security:
- bearer: []
/api/metrics/{metricid}:
get:
operationId: get_api_metrics_metricid
tags:
- Metrics
summary: GET /api/metrics/followers read Follower counts and the weekly delta
x-source: https://shapelessai.com/docs/api
parameters:
- name: metricid
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
collapsed_from: 2 example path(s) differing only at metricId
security:
- bearer: []
/api/metrics:
get:
summary: Published posts with their latest samples and the 90-day series
operationId: getMetrics
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:
- Metrics
servers:
- url: https://shapelessai.com
/api/metrics/history:
get:
summary: One post's accrual curve against the account median (?post=)
operationId: getMetricsHistory
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:
- Metrics
servers:
- url: https://shapelessai.com
/api/metrics/followers:
get:
summary: Follower counts and the weekly delta
operationId: getMetricsFollowers
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:
- Metrics
servers:
- url: https://shapelessai.com
components:
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