Cycle Intelligence Admin API
The admin API from Cycle Intelligence — 4 operation(s) for admin.
The admin API from Cycle Intelligence — 4 operation(s) for admin.
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/cycle-platform-com:cycle-platform-com-admin-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. 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: Cycle Platform Com Admin API
version: phase2
description: 'Operations tagged admin across 2 of this provider''s published API definitions: openapi.json, cycle-platform-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Admin
paths:
/api/v1/admin/demo-tenant:
post:
tags:
- Admin
summary: Create Demo Tenant
operationId: create_demo_tenant_api_v1_admin_demo_tenant_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DemoTenantIn'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/admin/repair-workspaces:
post:
tags:
- Admin
summary: Repair
description: 'oct-20: arregla empresas sin espacio de trabajo y usuarios sin enlazar. Solo admin.
`?dry_run=true` enseña lo que haría sin cambiar nada.'
operationId: repair_api_v1_admin_repair_workspaces_post
parameters:
- name: dry_run
in: query
required: false
schema:
type: boolean
default: false
title: Dry Run
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/admin/tenants:
get:
tags:
- Admin
summary: List Tenants
operationId: list_tenants_api_v1_admin_tenants_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/admin/import:
post:
tags:
- Admin
summary: Import Products
description: 'Importa fichas (y unidades) copiadas del backend del partner al mirror.
- Conserva el _id original (deep-links/refs idénticos).
- Si rehost=True, DESCARGA y RE-ALOJA las imágenes en el storage propio del mirror
(evita heredar hotlinks que mueren, p.ej. el caso Mango). Si una imagen falla,
se deja su url original y se contabiliza como fallo.
- Upsert idempotente por _id (re-ejecutable).
Body: { products:[...], units:[...], org_id?, rehost?=true }'
operationId: import_products_api_v1_admin_import_post
requestBody:
content:
application/json:
schema:
additionalProperties: true
type: object
title: Payload
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
DemoTenantIn:
properties:
name:
type: string
title: Name
org_id:
anyOf:
- type: string
- type: 'null'
title: Org Id
max_products:
anyOf:
- type: integer
- type: 'null'
title: Max Products
ttl_days:
anyOf:
- type: integer
- type: 'null'
title: Ttl Days
additionalProperties: true
type: object
required:
- name
title: DemoTenantIn
x-refined-from:
- openapi.json
- cycle-platform-com-openapi.json