> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apiosk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Find fitting European source operations

> Free endpoint routing for a structured European capability. Requires sources:read; no provider call or charge.



## OpenAPI

````yaml /openapi/apiosk-api.json post /v2/capabilities/resolve
openapi: 3.1.0
info:
  title: Apiosk API
  version: 2.0.0
  description: >-
    Buy verifiable data per call with an organisation API key. Discover sources,
    run one directly, or let Apiosk plan across sources. Amounts are USD; every
    amount carries an exact micro-USD integer.
servers:
  - url: https://gateway.apiosk.com
security:
  - apiKey: []
paths:
  /v2/capabilities/resolve:
    post:
      summary: Find fitting European source operations
      description: >-
        Free endpoint routing for a structured European capability. Requires
        sources:read; no provider call or charge.
      operationId: resolveEuropeanCapability
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EuropeanCapabilityRequest'
      responses:
        '200':
          description: Accepted endpoint operations, input fit, price and freshness.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EuropeanCapabilityResolution'
        '400':
          description: Invalid country or request
        '401':
          description: Invalid API key
        '403':
          description: Insufficient scope
        '422':
          description: No fitting operation or invalid input
components:
  schemas:
    EuropeanCapabilityRequest:
      type: object
      additionalProperties: false
      required:
        - capability
      properties:
        capability:
          type: string
          enum:
            - eu.company.profile
            - eu.tenders.search
            - eu.statistics.query
        country:
          type: string
          pattern: ^[A-Za-z]{2}$
          description: Optional two-letter ISO country code used for source routing.
        input:
          type: object
          description: Structured fact-type input; inspect resolve for exact field schemas.
        operation:
          type: string
          description: >-
            Optional exact operation selector, required for CBS observation
            metrics.
    EuropeanCapabilityResolution:
      type: object
      required:
        - capability
        - sources
        - ready_source_count
      properties:
        capability:
          type: string
        country:
          type:
            - string
            - 'null'
        ready_source_count:
          type: integer
          minimum: 0
        sources:
          type: array
          items:
            type: object
            properties:
              source_id:
                type: string
              name:
                type: string
              role:
                type: string
                enum:
                  - primary
                  - supplementary
              ready:
                type: boolean
              operations:
                type: array
                items:
                  type: object
                  properties:
                    operation:
                      type: string
                    endpoint_id:
                      type: string
                      format: uuid
                    method:
                      type: string
                    path:
                      type: string
                    inputs:
                      type: array
                      items:
                        type: object
                    input:
                      type: object
                    missing_input:
                      type: array
                      items:
                        type: string
                    invalid_input:
                      type: array
                      items:
                        type: string
                    ready:
                      type: boolean
                    output:
                      type: array
                      items:
                        type: string
                    freshness_seconds:
                      type:
                        - integer
                        - 'null'
                    price:
                      type: object
                    run_url:
                      type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'An organisation API key: Authorization: Bearer apk_org_live_…'

````