Agent C Content API
The content API from Agent C — 4 operation(s) for content.
The content API from Agent C — 4 operation(s) for content.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/theagentc-io:theagentc-io-content-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Agent C Content API
description: AI COO platform — Jarvis Jr. manages your social media content.
version: 0.1.0
tags:
- name: Content
paths:
/v1/content:
get:
tags:
- Content
summary: List Content
description: 'List content items for the current workspace.
Supports filtering by status, brand, and platform.
Results are paginated and ordered by creation date (newest first).'
operationId: list_content_v1_content_get
security:
- HTTPBearer: []
parameters:
- name: status_filter
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by status
title: Status Filter
description: Filter by status
- name: brand_id
in: query
required: false
schema:
anyOf:
- type: string
format: uuid
- type: 'null'
description: Filter by brand
title: Brand Id
description: Filter by brand
- name: platform
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by platform
title: Platform
description: Filter by platform
- name: limit
in: query
required: false
schema:
type: integer
maximum: 250
minimum: 1
description: Items per page
default: 50
title: Limit
description: Items per page
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
description: Pagination offset
default: 0
title: Offset
description: Pagination offset
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ContentRead'
title: Response List Content V1 Content Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Content
summary: Create Content
description: 'Create a new content item in draft status.
The brand_id must belong to the current workspace.
Content is initially created as a draft and can be published later.'
operationId: create_content_v1_content_post
security:
- HTTPBearer: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContentCreate'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContentRead'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/content/{content_id}:
get:
tags:
- Content
summary: Get Content
description: Get a specific content item by ID (must belong to workspace).
operationId: get_content_v1_content__content_id__get
security:
- HTTPBearer: []
parameters:
- name: content_id
in: path
required: true
schema:
type: string
format: uuid
title: Content Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContentRead'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
put:
tags:
- Content
summary: Update Content
description: 'Update a content item.
Can only update content in draft or pending_approval status.
Published content cannot be modified.'
operationId: update_content_v1_content__content_id__put
security:
- HTTPBearer: []
parameters:
- name: content_id
in: path
required: true
schema:
type: string
format: uuid
title: Content Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContentUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContentRead'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Content
summary: Delete Content
description: 'Soft delete a content item (set status to ''archived'').
The item remains in the database for audit purposes but is
hidden from normal list queries. This is reversible.'
operationId: delete_content_v1_content__content_id__delete
security:
- HTTPBearer: []
parameters:
- name: content_id
in: path
required: true
schema:
type: string
format: uuid
title: Content Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/content/{content_id}/publish:
post:
tags:
- Content
summary: Publish Content
description: 'Publish a content item.
This endpoint:
1. Verifies the content belongs to the workspace
2. Calculates credit cost based on mode + content type
3. Checks if workspace has sufficient credits
4. Deducts credits and updates content status
5. Returns the updated content item
If credit deduction fails, the content status remains unchanged.'
operationId: publish_content_v1_content__content_id__publish_post
security:
- HTTPBearer: []
parameters:
- name: content_id
in: path
required: true
schema:
type: string
format: uuid
title: Content Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContentPublishRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContentRead'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/content/stats:
get:
tags:
- Content
summary: Get Content Stats
description: 'Get aggregate content statistics for the workspace.
Returns:
- Total count of content items
- Breakdown by status (draft, pending_approval, posted, etc.)
- Breakdown by platform (x, youtube, instagram, etc.)
- Total posted items
- Items posted today'
operationId: get_content_stats_v1_content_stats_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContentStats'
security:
- HTTPBearer: []
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ContentCreate:
properties:
brand_id:
type: string
format: uuid
title: Brand Id
content_type:
type: string
title: Content Type
description: 'Type of content: text, image, video, thread, carousel, pin'
platform:
type: string
title: Platform
description: 'Target platform: x, youtube, pinterest, instagram, instagram_reels'
body:
type: object
title: Body
description: Platform-specific content body with text, media_urls, hashtags, etc.
scheduled_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Scheduled At
description: When to publish (optional)
type: object
required:
- brand_id
- content_type
- platform
- body
title: ContentCreate
description: Request model for creating content (draft).
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
ContentStats:
properties:
total:
type: integer
title: Total
by_status:
additionalProperties:
type: integer
type: object
title: By Status
description: Count of content items by status (draft, pending_approval, etc.)
by_platform:
additionalProperties:
type: integer
type: object
title: By Platform
description: Count of content items by platform (x, youtube, etc.)
posted_count:
type: integer
title: Posted Count
description: Total number of successfully posted items
default: 0
posted_today:
type: integer
title: Posted Today
description: Number of items posted today
default: 0
type: object
required:
- total
title: ContentStats
description: Aggregate statistics for content in a workspace.
ContentPublishRequest:
properties:
mode:
type: string
title: Mode
description: 'Content creation mode: mode_1, mode_2, or mode_3'
type: object
required:
- mode
title: ContentPublishRequest
description: Request model for publishing content (triggers credit deduction).
ContentUpdate:
properties:
content_type:
anyOf:
- type: string
- type: 'null'
title: Content Type
platform:
anyOf:
- type: string
- type: 'null'
title: Platform
body:
anyOf:
- type: object
- type: 'null'
title: Body
scheduled_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Scheduled At
rejection_feedback:
anyOf:
- type: string
- type: 'null'
title: Rejection Feedback
type: object
title: ContentUpdate
description: Request model for updating content.
ContentRead:
properties:
id:
type: string
format: uuid
title: Id
run_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Run Id
brand_id:
type: string
format: uuid
title: Brand Id
content_type:
type: string
title: Content Type
platform:
type: string
title: Platform
body:
type: object
title: Body
status:
type: string
title: Status
platform_post_id:
anyOf:
- type: string
- type: 'null'
title: Platform Post Id
rejection_feedback:
anyOf:
- type: string
- type: 'null'
title: Rejection Feedback
scheduled_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Scheduled At
posted_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Posted At
created_at:
type: string
format: date-time
title: Created At
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- id
- run_id
- brand_id
- content_type
- platform
- body
- status
- platform_post_id
- rejection_feedback
- scheduled_at
- posted_at
- created_at
- updated_at
title: ContentRead
description: Full content item response model.
securitySchemes:
HTTPBearer:
type: http
scheme: bearer