Condux Admin API

The Admin API from Condux — 16 operation(s) for admin.

GitHub OpenAPI

Operations 18

GET /api/admin/overview Admin overview #
GET /api/admin/orgs Admin list orgs #
GET /api/admin/users Admin list users #
GET /api/admin/audit Admin audit log #
GET /api/admin/orgs/{orgId} Admin org detail #
PATCH /api/admin/orgs/{orgId} Admin update org #
GET /api/admin/orgs/{orgId}/members Admin list org members #
PATCH /api/admin/orgs/{orgId}/members/{userId} Admin update member role #
DELETE /api/admin/orgs/{orgId}/members/{userId} Admin remove member #
GET /api/admin/orgs/{orgId}/billing Admin billing status #
POST /api/admin/orgs/{orgId}/billing/cancel Admin billing cancel #
POST /api/admin/orgs/{orgId}/billing/plan Admin billing change plan #
POST /api/admin/orgs/{orgId}/billing/portal Admin billing portal #
GET /api/admin/spend Admin spend rollup #
GET /api/admin/orgs/{orgId}/spend Admin org spend #
GET /api/admin/spend/runs Admin spend runs #
POST /api/admin/impersonation/{orgId} Admin impersonate org #
POST /api/admin/impersonation/stop Admin stop impersonation #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/condux-ai:condux-ai-admin-api"
All apis
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.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

condux-ai-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Condux Ai Admin API
  version: v1
  description: 'Operations tagged Admin across 2 of this provider''s published API definitions: condux-ai-openapi-v1.json, condux-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
tags:
- name: Admin
paths:
  /api/admin/overview:
    get:
      tags:
      - Admin
      operationId: adminOverview
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlatformStatsResponse'
      summary: Admin overview
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/orgs:
    get:
      tags:
      - Admin
      operationId: adminListOrgs
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AdminOrgResponse'
      summary: Admin list orgs
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/users:
    get:
      tags:
      - Admin
      operationId: adminListUsers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AdminUserResponse'
      summary: Admin list users
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/audit:
    get:
      tags:
      - Admin
      operationId: adminAuditLog
      parameters:
      - name: orgId
        in: query
        schema:
          type: integer
          format: int64
      - name: limit
        in: query
        schema:
          type: integer
          format: int32
          default: 200
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AdminAuditResponse'
      summary: Admin audit log
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/orgs/{orgId}:
    get:
      tags:
      - Admin
      operationId: adminOrgDetail
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminOrgDetailResponse'
        '404':
          description: Not Found
      summary: Admin org detail
      x-summary-source: derived
    patch:
      tags:
      - Admin
      operationId: adminUpdateOrg
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminUpdateOrgRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Org'
        '404':
          description: Not Found
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Admin update org
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/orgs/{orgId}/members:
    get:
      tags:
      - Admin
      operationId: adminListOrgMembers
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrgMemberResponse'
      summary: Admin list org members
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/orgs/{orgId}/members/{userId}:
    patch:
      tags:
      - Admin
      operationId: adminUpdateMemberRole
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateMemberRoleRequest'
        required: true
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Admin update member role
      x-summary-source: derived
    delete:
      tags:
      - Admin
      operationId: adminRemoveMember
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Admin remove member
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/orgs/{orgId}/billing:
    get:
      tags:
      - Admin
      operationId: adminBillingStatus
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminBillingResponse'
        '404':
          description: Not Found
      summary: Admin billing status
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/orgs/{orgId}/billing/cancel:
    post:
      tags:
      - Admin
      operationId: adminBillingCancel
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '202':
          description: Accepted
        '404':
          description: Not Found
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Admin billing cancel
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/orgs/{orgId}/billing/plan:
    post:
      tags:
      - Admin
      operationId: adminBillingChangePlan
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminChangePlanRequest'
        required: true
      responses:
        '202':
          description: Accepted
        '404':
          description: Not Found
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Admin billing change plan
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/orgs/{orgId}/billing/portal:
    post:
      tags:
      - Admin
      operationId: adminBillingPortal
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminPortalResponse'
        '404':
          description: Not Found
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Admin billing portal
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/spend:
    get:
      tags:
      - Admin
      operationId: adminSpendRollup
      parameters:
      - name: days
        in: query
        schema:
          type: integer
          format: int32
          default: 30
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminSpendRollupResponse'
      summary: Admin spend rollup
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/orgs/{orgId}/spend:
    get:
      tags:
      - Admin
      operationId: adminOrgSpend
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: days
        in: query
        schema:
          type: integer
          format: int32
          default: 30
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminSpendRollupResponse'
      summary: Admin org spend
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/spend/runs:
    get:
      tags:
      - Admin
      operationId: adminSpendRuns
      parameters:
      - name: orgId
        in: query
        schema:
          type: integer
          format: int64
      - name: kind
        in: query
        schema:
          type: string
      - name: days
        in: query
        schema:
          type: integer
          format: int32
          default: 30
      - name: limit
        in: query
        schema:
          type: integer
          format: int32
          default: 200
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AdminSpendRunResponse'
      summary: Admin spend runs
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/impersonation/{orgId}:
    post:
      tags:
      - Admin
      operationId: adminImpersonateOrg
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImpersonationStateResponse'
        '404':
          description: Not Found
      summary: Admin impersonate org
      x-summary-source: derived
    servers:
    - url: /
  /api/admin/impersonation/stop:
    post:
      tags:
      - Admin
      operationId: adminStopImpersonation
      responses:
        '204':
          description: No Content
      summary: Admin stop impersonation
      x-summary-source: derived
    servers:
    - url: /
components:
  schemas:
    AdminSpendRollupResponse:
      required:
      - totalUsd
      - byModel
      - byOrg
      type: object
      properties:
        totalUsd:
          type: number
          format: double
        byModel:
          type: array
          items:
            $ref: '#/components/schemas/AdminSpendModelResponse'
        byOrg:
          type: array
          items:
            $ref: '#/components/schemas/AdminSpendOrgResponse'
    AdminAuditResponse:
      required:
      - id
      - actorId
      - actorEmail
      - action
      - targetOrgId
      - targetUserId
      - details
      - createdAt
      type: object
      properties:
        id:
          type: integer
          format: int64
        actorId:
          type: integer
          format: int64
        actorEmail:
          type: string
        action:
          type: string
        targetOrgId:
          type:
          - integer
          - 'null'
          format: int64
        targetUserId:
          type:
          - integer
          - 'null'
          format: int64
        details:
          $ref: '#/components/schemas/JsonElement'
        createdAt:
          type: string
          format: date-time
    AdminUpdateOrgRequest:
      required:
      - name
      - aiFixMode
      - aiFixCostCapUsd
      type: object
      properties:
        name:
          type: string
        aiFixMode:
          type: integer
          format: int32
        aiFixCostCapUsd:
          type:
          - number
          - 'null'
          format: double
    AdminChangePlanRequest:
      required:
      - tier
      type: object
      properties:
        tier:
          type: string
    AdminSpendOrgResponse:
      required:
      - orgId
      - orgName
      - runCount
      - inputTokens
      - outputTokens
      - costUsd
      type: object
      properties:
        orgId:
          type: integer
          format: int64
        orgName:
          type: string
        runCount:
          type: integer
          format: int32
        inputTokens:
          type: integer
          format: int64
        outputTokens:
          type: integer
          format: int64
        costUsd:
          type:
          - number
          - 'null'
          format: double
    ImpersonationStateResponse:
      required:
      - orgId
      - orgSlug
      - orgName
      type: object
      properties:
        orgId:
          type: integer
          format: int64
        orgSlug:
          type: string
        orgName:
          type: string
    AdminSpendRunResponse:
      required:
      - id
      - orgId
      - orgName
      - model
      - kind
      - status
      - inputTokens
      - outputTokens
      - costUsd
      - createdAt
      type: object
      properties:
        id:
          type: string
          format: uuid
        orgId:
          type: integer
          format: int64
        orgName:
          type: string
        model:
          type: string
        kind:
          type: string
        status:
          type: integer
          format: int32
        inputTokens:
          type: integer
          format: int64
        outputTokens:
          type: integer
          format: int64
        costUsd:
          type:
          - number
          - 'null'
          format: double
        createdAt:
          type: string
          format: date-time
    UpdateMemberRoleRequest:
      required:
      - role
      type: object
      properties:
        role:
          type: string
    Org:
      required:
      - id
      - slug
      - name
      - tier
      - createdAt
      - aiFixMode
      - aiFixCostCapUsd
      type: object
      properties:
        id:
          type: integer
          format: int64
        slug:
          type: string
        name:
          type: string
        tier:
          type: integer
          format: int32
        createdAt:
          type: string
          format: date-time
        aiFixMode:
          type: integer
          format: int32
        aiFixCostCapUsd:
          type:
          - number
          - 'null'
          format: double
        stripeCustomerId:
          type:
          - string
          - 'null'
        stripeSubscriptionId:
          type:
          - string
          - 'null'
        weeklySummaryEnabled:
          type: boolean
          default: true
        weeklySummaryDow:
          type: integer
          format: int32
          default: 1
        weeklySummaryHour:
          type: integer
          format: int32
          default: 9
        weeklySummaryTz:
          type: string
          default: UTC
        fixExecution:
          type: integer
          format: int32
          default: 0
    ErrorResponse:
      required:
      - error
      type: object
      properties:
        error:
          type: string
    AdminPortalResponse:
      required:
      - url
      type: object
      properties:
        url:
          type: string
    JsonElement: {}
    AdminOrgResponse:
      required:
      - id
      - slug
      - name
      - tier
      - createdAt
      - ownerEmail
      - memberCount
      - projectCount
      type: object
      properties:
        id:
          type: integer
          format: int64
        slug:
          type: string
        name:
          type: string
        tier:
          type: integer
          format: int32
        createdAt:
          type: string
          format: date-time
        ownerEmail:
          type:
          - string
          - 'null'
        memberCount:
          type: integer
          format: int32
        projectCount:
          type: integer
          format: int32
    OrgMemberResponse:
      required:
      - userId
      - email
      - role
      - createdAt
      type: object
      properties:
        userId:
          type: integer
          format: int64
        email:
          type: string
        role:
          type: string
        createdAt:
          type: string
          format: date-time
    AdminUserResponse:
      required:
      - id
      - email
      - createdAt
      - orgCount
      - orgId
      - orgName
      type: object
      properties:
        id:
          type: integer
          format: int64
        email:
          type: string
        createdAt:
          type: string
          format: date-time
        orgCount:
          type: integer
          format: int32
        orgId:
          type:
          - integer
          - 'null'
          format: int64
        orgName:
          type:
          - string
          - 'null'
    AdminSpendModelResponse:
      required:
      - model
      - runCount
      - inputTokens
      - outputTokens
      - costUsd
      type: object
      properties:
        model:
          type: string
        runCount:
          type: integer
          format: int32
        inputTokens:
          type: integer
          format: int64
        outputTokens:
          type: integer
          format: int64
        costUsd:
          type:
          - number
          - 'null'
          format: double
    PlatformStatsResponse:
      required:
      - orgs
      - users
      - projects
      - issues
      type: object
      properties:
        orgs:
          type: integer
          format: int64
        users:
          type: integer
          format: int64
        projects:
          type: integer
          format: int64
        issues:
          type: integer
          format: int64
    AdminBillingResponse:
      required:
      - tier
      - billingEnabled
      - hasSubscription
      - stripeCustomerId
      - stripeSubscriptionId
      - purchasableTiers
      type: object
      properties:
        tier:
          type: string
        billingEnabled:
          type: boolean
        hasSubscription:
          type: boolean
        stripeCustomerId:
          type:
          - string
          - 'null'
        stripeSubscriptionId:
          type:
          - string
          - 'null'
        purchasableTiers:
          type: array
          items:
            type: string
    AdminOrgDetailResponse:
      required:
      - id
      - slug
      - name
      - tier
      - createdAt
      - ownerEmail
      - memberCount
      - projectCount
      - aiFixMode
      - aiFixCostCapUsd
      - billing
      - members
      type: object
      properties:
        id:
          type: integer
          format: int64
        slug:
          type: string
        name:
          type: string
        tier:
          type: integer
          format: int32
        createdAt:
          type: string
          format: date-time
        ownerEmail:
          type:
          - string
          - 'null'
        memberCount:
          type: integer
          format: int32
        projectCount:
          type: integer
          format: int32
        aiFixMode:
          type: integer
          format: int32
        aiFixCostCapUsd:
          type:
          - number
          - 'null'
          format: double
        billing:
          $ref: '#/components/schemas/AdminBillingResponse'
        members:
          type: array
          items:
            $ref: '#/components/schemas/OrgMemberResponse'
x-refined-from:
- condux-ai-openapi-v1.json
- condux-ai-openapi.yml