Meta Council Ticket Sync API

The ticket-sync API from Meta Council — 12 operation(s) for ticket-sync.

GitHub OpenAPI

Operations 12

POST /api/tickets/{ticket_id}/link-jira Link Jira #
POST /api/tickets/import-jira Import Jira #
GET /api/tickets/{ticket_id}/export-preview Ticket Export Preview #
GET /api/tickets/{ticket_id}/provider-effects List Provider Effects #
POST /api/tickets/{ticket_id}/reconcile-provider-effect Reconcile Provider Effect #
POST /api/tickets/{ticket_id}/export-jira Export Jira #
POST /api/tickets/{ticket_id}/link-linear Link Linear #
POST /api/tickets/import-linear Import Linear #
POST /api/tickets/{ticket_id}/export-linear Export Linear #
POST /api/tickets/label-identity/sync-jira Sync Jira Labels #
POST /api/tickets/label-identity/sync-linear Sync Linear Labels #
GET /api/tickets/{ticket_id}/label-egress-preview Label Egress Preview #

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/meta-council-com:meta-council-com-ticket-sync-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. 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 Specification

meta-council-com-ticket-sync-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Meta Council Ticket Sync API
  description: 'Multi-expert LLM reasoning platform. A query is routed to a panel of expert AI agents (290+ available, 30 pre-built panels), each writing an independent analysis, then a synthesis step combines them into a decision document with executive summary, risk matrix, consensus + dissent, and an action plan.


    Authenticate via `Authorization: Bearer ` (user-facing routes) or `Authorization: Bearer mc_...` / `X-API-Key: mc_...` (developer API under `/api/v1/`).


    Ticket validation ingestion at `POST /api/tickets/{ticket_id}/scenarios/{scenario_id}/validation-runs` accepts a JWT or an API key carrying the opt-in `tickets:validate` scope; owner and actor identity are always derived from that verified credential.


    Smart model routing: requests default to Claude Haiku 4.5 with a self-hosted Qwen fallback. Anonymous calls to `/api/council/run` are rate-limited; programmatic access requires an API key created at `/api/v1/keys`.'
  contact:
    name: Meta Council
    url: https://meta-council.com/
  license:
    name: Proprietary
  version: 0.3.0
tags:
- name: ticket-sync
paths:
  /api/tickets/{ticket_id}/link-jira:
    post:
      tags:
      - ticket-sync
      summary: Link Jira
      description: Attach an existing JIRA issue to a ticket after verifying it exists.
      operationId: link_jira_api_tickets__ticket_id__link_jira_post
      parameters:
      - name: ticket_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Ticket Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JiraLinkRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/tickets/import-jira:
    post:
      tags:
      - ticket-sync
      summary: Import Jira
      description: 'Fetch JIRA issues by JQL (or whole project) and create local tickets.


        Issues already linked to a ticket are skipped, so re-running an import is

        idempotent rather than duplicating the board.'
      operationId: import_jira_api_tickets_import_jira_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JiraImportRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/tickets/{ticket_id}/export-preview:
    get:
      tags:
      - ticket-sync
      summary: Ticket Export Preview
      operationId: ticket_export_preview_api_tickets__ticket_id__export_preview_get
      parameters:
      - name: ticket_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Ticket Id
      - name: provider
        in: query
        required: true
        schema:
          enum:
          - jira
          - linear
          type: string
          title: Provider
      - name: destination
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Destination
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/tickets/{ticket_id}/provider-effects:
    get:
      tags:
      - ticket-sync
      summary: List Provider Effects
      operationId: list_provider_effects_api_tickets__ticket_id__provider_effects_get
      parameters:
      - name: ticket_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Ticket Id
      - name: provider
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - jira
            - linear
            type: string
          - type: 'null'
          title: Provider
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      - name: before_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Before Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/tickets/{ticket_id}/reconcile-provider-effect:
    post:
      tags:
      - ticket-sync
      summary: Reconcile Provider Effect
      operationId: reconcile_provider_effect_api_tickets__ticket_id__reconcile_provider_effect_post
      parameters:
      - name: ticket_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Ticket Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProviderReconcileRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/tickets/{ticket_id}/export-jira:
    post:
      tags:
      - ticket-sync
      summary: Export Jira
      description: Durably push a ticket to JIRA without blindly replaying writes.
      operationId: export_jira_api_tickets__ticket_id__export_jira_post
      parameters:
      - name: ticket_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Ticket Id
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/JiraExportRequest'
              - type: 'null'
              title: Req
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/tickets/{ticket_id}/link-linear:
    post:
      tags:
      - ticket-sync
      summary: Link Linear
      description: Attach an existing Linear issue to a ticket after verifying it exists.
      operationId: link_linear_api_tickets__ticket_id__link_linear_post
      parameters:
      - name: ticket_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Ticket Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinearLinkRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/tickets/import-linear:
    post:
      tags:
      - ticket-sync
      summary: Import Linear
      description: 'Fetch recent Linear issues (optionally one team) and create local tickets.


        Issues already linked to a ticket are skipped, so re-running an import is

        idempotent rather than duplicating the board.'
      operationId: import_linear_api_tickets_import_linear_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinearImportRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/tickets/{ticket_id}/export-linear:
    post:
      tags:
      - ticket-sync
      summary: Export Linear
      description: Durably push a ticket to Linear without blindly replaying writes.
      operationId: export_linear_api_tickets__ticket_id__export_linear_post
      parameters:
      - name: ticket_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Ticket Id
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/LinearExportRequest'
              - type: 'null'
              title: Req
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/tickets/label-identity/sync-jira:
    post:
      tags:
      - ticket-sync
      summary: Sync Jira Labels
      description: 'Discover every label visible on this account''s JIRA site and record its

        identity in the durable catalog.


        JIRA''s ``labels`` field on an issue is a bare string with no separate ID or

        group — the label list itself is site-wide, not project-scoped, so

        ``scope_key`` here is the connected ``jira_base_url``. This never touches

        an issue or a ticket; it only refreshes the catalog that

        ``GET /{ticket_id}/label-egress-preview`` reads.'
      operationId: sync_jira_labels_api_tickets_label_identity_sync_jira_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/tickets/label-identity/sync-linear:
    post:
      tags:
      - ticket-sync
      summary: Sync Linear Labels
      description: 'Discover every label on one Linear team and record its identity in the

        durable catalog.


        Linear''s ``IssueLabel`` is a real entity: ``remote_id`` is its UUID and

        ``group_key`` is the parent label''s id when this label belongs to an

        exclusive label group. ``scope_key`` is the team KEY (not its opaque id),

        matching what ``GET /{ticket_id}/label-egress-preview`` can derive locally

        from a linked issue identifier (e.g. "ENG-123" -> "ENG") with no extra

        network call.


        Unlike JIRA''s loop above, this fetches a single page of up to

        ``MAX_LABEL_SYNC`` nodes rather than following ``pageInfo`` cursors — a

        team''s label count is expected to stay well under that in practice. If

        Linear''s own server-side page-size ceiling is smaller than requested, or a

        team genuinely exceeds the cap, ``pageInfo.hasNextPage`` still surfaces

        honestly as ``truncated: true`` rather than silently under-reporting.'
      operationId: sync_linear_labels_api_tickets_label_identity_sync_linear_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinearLabelSyncRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/tickets/{ticket_id}/label-egress-preview:
    get:
      tags:
      - ticket-sync
      summary: Label Egress Preview
      description: 'Read-only diff of a ticket''s local labels against the discovered

        provider label catalog, for every provider the ticket is linked to.


        Never dispatches anything — this only reports what an egress push would

        add/remove/conflict on if one were run, using whatever the most recent

        sync-jira/sync-linear call discovered. A linked-but-never-synced provider

        still gets a preview entry (``identity_synced_at: null``, every local

        label in ``would_add``), distinguishing "never synced" from "not linked"

        (which omits the key entirely). Works even if live provider credentials

        have since been removed, since this never calls out to either provider.'
      operationId: label_egress_preview_api_tickets__ticket_id__label_egress_preview_get
      parameters:
      - name: ticket_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Ticket Id
      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
    ProviderReconcileRequest:
      properties:
        provider:
          type: string
          enum:
          - jira
          - linear
          title: Provider
        intent_id:
          type: string
          format: uuid
          title: Intent Id
      additionalProperties: false
      type: object
      required:
      - provider
      - intent_id
      title: ProviderReconcileRequest
    LinearImportRequest:
      properties:
        team:
          anyOf:
          - type: string
          - type: 'null'
          title: Team
        limit:
          type: integer
          title: Limit
          default: 20
      type: object
      title: LinearImportRequest
    JiraExportRequest:
      properties:
        project:
          anyOf:
          - type: string
          - type: 'null'
          title: Project
        expected_export_hash:
          anyOf:
          - type: string
            pattern: ^[0-9a-f]{64}$
          - type: 'null'
          title: Expected Export Hash
      additionalProperties: false
      type: object
      title: JiraExportRequest
    LinearLinkRequest:
      properties:
        issue_id:
          type: string
          title: Issue Id
      type: object
      required:
      - issue_id
      title: LinearLinkRequest
    LinearExportRequest:
      properties:
        team:
          anyOf:
          - type: string
          - type: 'null'
          title: Team
        expected_export_hash:
          anyOf:
          - type: string
            pattern: ^[0-9a-f]{64}$
          - type: 'null'
          title: Expected Export Hash
      additionalProperties: false
      type: object
      title: LinearExportRequest
    JiraLinkRequest:
      properties:
        issue_key:
          type: string
          title: Issue Key
      type: object
      required:
      - issue_key
      title: JiraLinkRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    JiraImportRequest:
      properties:
        jql:
          anyOf:
          - type: string
          - type: 'null'
          title: Jql
        project:
          anyOf:
          - type: string
          - type: 'null'
          title: Project
        limit:
          type: integer
          title: Limit
          default: 20
      type: object
      title: JiraImportRequest
    LinearLabelSyncRequest:
      properties:
        team:
          type: string
          title: Team
      type: object
      required:
      - team
      title: LinearLabelSyncRequest
  securitySchemes:
    VotingDeveloperBearer:
      type: http
      description: 'Meta Council developer API key in Authorization: Bearer.'
      scheme: bearer
    VotingDeveloperApiKey:
      type: apiKey
      description: Meta Council developer API key in X-API-Key.
      in: header
      name: X-API-Key
    VotingJWTBearer:
      type: http
      description: Meta Council account access token.
      scheme: bearer