Numspot Inventory API

API to manage and query inventory resources

GitHub OpenAPI

Operations 2

GET /inventory/spaces/{spaceId}/resources List resources by Space Id #
GET /inventory/spaces/{spaceId}/resources/{resourceId} Retrieve a resource #

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/numspot:numspot-inventory-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

numspot-inventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Numspot Inventory API
  version: '2026-11-24T15:50:34Z'
  contact:
    name: Numspot
    url: https://numspot.com/contact/
    email: support@numspot.eu
  license:
    name: BSD 3 Clause
    url: https://opensource.org/licenses/BSD-3-Clause
  termsOfService: https://numspot.com/
  description: 'Operations tagged Inventory across 2 of this provider''s published API definitions: numspot-api-openapi.json, numspot-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.eu-west-2.numspot.com
tags:
- name: Inventory
  description: API to manage and query inventory resources
paths:
  /inventory/spaces/{spaceId}/resources:
    parameters:
    - $ref: '#/components/parameters/SpaceId'
    get:
      tags:
      - Inventory
      summary: List resources by Space Id
      description: List the current resources from one space
      operationId: InventoryListResourcesBySpaceId
      parameters:
      - $ref: '#/components/parameters/InventoryPaginatedRequest'
      - name: type
        in: query
        description: Filter resources by one or more resource types
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/InventoryResourceType'
          maxItems: 49
      - name: domain
        in: query
        description: Filter resources by domain (cloud service source)
        required: false
        schema:
          $ref: '#/components/schemas/InventoryResourceSource'
      - name: profile
        in: query
        description: Filter resources by catalog profile (details.size[].profile)
        required: false
        schema:
          type: string
          maxLength: 255
      responses:
        '200':
          $ref: '#/components/responses/InventoryListResourcesBySpaceId200Response'
        '400':
          $ref: '#/components/responses/InventoryListResourcesBySpaceId400Response'
        '500':
          $ref: '#/components/responses/InventoryListResourcesBySpaceId500Response'
      security:
      - BearerAuth: []
    servers:
    - url: https://api.eu-west-2.numspot.com
  /inventory/spaces/{spaceId}/resources/{resourceId}:
    parameters:
    - $ref: '#/components/parameters/SpaceId'
    get:
      tags:
      - Inventory
      summary: Retrieve a resource
      description: Retrieves details of a specific resource by its ID.
      operationId: InventoryReadResource
      parameters:
      - name: resourceId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          $ref: '#/components/responses/InventoryReadResource200Response'
        '400':
          $ref: '#/components/responses/InventoryReadResource400Response'
        '404':
          $ref: '#/components/responses/InventoryReadResource404Response'
        '500':
          $ref: '#/components/responses/InventoryReadResource500Response'
      security:
      - BearerAuth: []
    servers:
    - url: https://api.eu-west-2.numspot.com
components:
  responses:
    InventoryReadResource200Response:
      description: Successful retrieval of the resource
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/InventoryResource'
    InventoryListResourcesBySpaceId500Response:
      description: Internal Server Error.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/InternalServerError'
    InventoryReadResource404Response:
      description: Resource not found
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/InventoryNotFoundError'
    InventoryListResourcesBySpaceId200Response:
      description: Successful retrieval of the resource
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/InventoryResourcesLight'
    InventoryReadResource500Response:
      description: Internal Server Error.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/InternalServerError'
    InventoryListResourcesBySpaceId400Response:
      description: Bad request. Invalid input provided.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/InventoryBadRequestError'
    InventoryReadResource400Response:
      description: Bad request. Invalid input provided.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/InventoryBadRequestError'
  schemas:
    Url:
      $schema: https://json-schema.org/draft/2020-12/schema
      description: URL type
      examples:
      - https://domain.org/path/
      format: uri
      title: Url
      type: string
    BadRequestError:
      $schema: https://json-schema.org/draft/2020-12/schema
      additionalProperties: false
      allOf:
      - $ref: '#/components/schemas/Error'
      - additionalProperties: false
        properties:
          violations:
            description: Array of violations to provide a per-field detail.
            items:
              $ref: '#/components/schemas/Violation'
            type: array
        type: object
      description: For HTTP 400 bad request errors, we implement the https://datatracker.ietf.org/doc/html/rfc9457
      title: BadRequestError
      type: object
    InternalServerError:
      $schema: https://json-schema.org/draft/2020-12/schema
      additionalProperties: false
      allOf:
      - $ref: '#/components/schemas/Error'
      - additionalProperties: false
        description: Type for Internal Server Error
        properties:
          type:
            description: URN that identifies this as an internal server error.
            enum:
            - urn:numspot:errors#internal_error
            type: string
        required:
        - type
        type: object
      description: For HTTP 500 Internal Server errors. Implements https://datatracker.ietf.org/doc/html/rfc9457
      title: InternalServerError
      type: object
    PaginatedList:
      $schema: https://json-schema.org/draft/2020-12/schema
      additionalProperties: false
      description: Common attributes of a paginated list. This schema is intended to be combined with specific item schemas using allOf.
      examples:
      - nextPageToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
        totalSize: 150
      - nextPageToken: token123
      - totalSize: 42
      properties:
        nextPageToken:
          description: Token to retrieve the next page. If omitted or empty, there are no subsequent pages.
          examples:
          - eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
          type: string
        totalSize:
          description: Total number of items across all pages, if known.
          examples:
          - 0
          - 100
          - 2500
          minimum: 0
          type: integer
      title: PaginatedList
      type: object
    InventoryResourceType:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: string
      title: InventoryResourceType
      enum:
      - OPENSHIFT_CLUSTER
      - KUBERNETES_CLUSTER
      - KUBERNETES_NODEPOOL
      - KUBERNETES_NODE
      - KUBERNETES_PERSISTENT_VOLUME
      - KUBERNETES_ROOT_DISK
      - KUBERNETES_LOAD_BALANCER
      - POSTGRES_CLUSTER
      - POSTGRES_BACKUP
      - POSTGRES_NODE
      - POSTGRES_PERSISTENT_VOLUME
      - BRIDGE
      - DIRECT_LINK
      - DIRECT_LINK_INTERFACES
      - CLIENT_GATEWAY
      - VIRTUAL_GATEWAY
      - VIRTUAL_PRIVATE_NETWORK
      - DHCP_OPTION
      - VIRTUAL_PRIVATE_CLOUD
      - SUBNET
      - PUBLIC_IP
      - ROUTE_TABLE
      - SECURITY_GROUP
      - NAT_GATEWAY
      - INTERNET_GATEWAY
      - IMAGE
      - VIRTUAL_MACHINE
      - NETWORK_INTERFACE_CARD
      - KEYPAIR
      - GPU
      - LOAD_BALANCER
      - SNAPSHOT
      - VOLUME
      - BUCKET
      - SERVER_CERTIFICATE
      - MISTRAL_PLATFORM
      - MISTRAL_MODEL
      - MISTRAL_LICENCE
      - MISTRAL_STORAGE
      - REGISTRY_STORAGE
      - REGISTRY_INSTANCE
      - SECRETS_INSTANCE
      - NETWORK_VPC
      - NETWORK_SUBNET
      - NETWORK_VPC_PEERING
      - NETWORK_ROUTE_TABLE
      - NETWORK_NAT_GATEWAY
      - OBSERVABILITY_STACK
      - OBSERVABILITY_BUCKET
      description: Inventory resource type
    InventoryRecord:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        id:
          type: string
          format: uuid
        updatedAt:
          type: string
          format: date-time
      title: InventoryRecord
      required:
      - id
      - updatedAt
      description: The reference to the last recorded transaction in the history
    InventoryBadRequestError:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      allOf:
      - $ref: '#/components/schemas/BadRequestError'
      - type: object
        properties:
          type:
            type: string
            format: uri
            enum:
            - urn:numspot:errors#invalid_parameter
        required:
        - type
      title: InventoryBadRequestError
    InventoryCatalogName:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: string
      title: InventoryCatalogName
      maxLength: 255
      description: 'Catalog/finops class name for the resource. The value is derived from the

        resource type enum through an authoritative mapping. When no explicit value is

        stored, public API responses fall back to the mapped catalog name for the

        resource type.

        '
      example: block-storage
    InventoryResourcesLight:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      allOf:
      - $ref: '#/components/schemas/PaginatedList'
      - type: object
        properties:
          items:
            type: array
            items:
              $ref: '#/components/schemas/InventoryResourceLight'
        required:
        - items
      title: InventoryResourcesLight
    InventoryResource:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        type:
          $ref: '#/components/schemas/InventoryResourceType'
        catalogName:
          $ref: '#/components/schemas/InventoryCatalogName'
        id:
          type: string
          format: uuid
        source:
          $ref: '#/components/schemas/InventoryResourceSource'
        state:
          $ref: '#/components/schemas/InventoryResourceState'
        details:
          type: object
          additionalProperties: true
        record:
          $ref: '#/components/schemas/InventoryRecord'
        managedService:
          $ref: '#/components/schemas/InventoryManagedService'
        name:
          $ref: '#/components/schemas/InventoryResourceName'
        providerId:
          $ref: '#/components/schemas/InventoryResourceProviderId'
          description: Deprecated. Use provider.providerId instead.
        provider:
          $ref: '#/components/schemas/InventoryResourceProvider'
        parent:
          $ref: '#/components/schemas/InventoryResourceParent'
        createdAt:
          type: string
          format: date-time
        region:
          $ref: '#/components/schemas/InventoryResourceRegion'
        availabilityZone:
          $ref: '#/components/schemas/InventoryResourceAvailabilityZone'
        tags:
          $ref: '#/components/schemas/InventoryResourceTags'
      title: InventoryResource
      required:
      - type
      - source
      - state
      - details
      - managedService
      - id
    InventoryResourceTags:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      title: InventoryResourceTags
      additionalProperties:
        type: string
      description: Tags associated with the resource
    InventoryResourceSource:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: string
      title: InventorySource
      enum:
      - postgresql
      - kubernetes
      - openshift
      - objectstorage
      - compute
      - connectivity
      - registry
      - secrets
      - ai
      - network
      - observability
      description: Name of the cloud service that provided the resource to the inventory
    InventoryResourceParent:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        parentId:
          type: string
          format: uuid
          description: id of the related resource
        parentType:
          description: type of the related resource
          $ref: '#/components/schemas/InventoryResourceType'
        parentName:
          type: string
          description: name of the related resource
      title: InventoryResourceParent
      required:
      - parentId
    InventoryResourceProviderId:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: string
      title: InventoryResourceProviderId
      description: Id of the external provider
    JsonPointer:
      $schema: https://json-schema.org/draft/2020-12/schema
      description: A JSON Pointer as defined in RFC 6901, used to identify a specific value within a JSON document.
      examples:
      - /
      - /user/address/postalCode
      - /foo/0/bar
      - /metadata~1info/labels~0app
      pattern: ^(/([^/~]|(~[01]))*)*$
      title: JsonPointer
      type: string
    InventoryResourceState:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: string
      title: InventoryResourceState
      enum:
      - CREATING
      - DELETING
      - PENDING
      - REPAIRING
      - RUNNING
      - SUSPENDING
      - ACCEPTED
      - ACTIVE
      - CANCELLED
      - DELETED
      - FAILED
      - SUCCEEDED
      - SUSPENDED
      - VERIFIED
      additionalProperties: false
      description: The following is a list of states in common use. APIs should consider prior art when determining state names, and should value local consistency above global consistency in the case of conflicting precedent. It encompasses the two possible kinds of States; Resting and Active.
    InventoryNotFoundError:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      allOf:
      - $ref: '#/components/schemas/Error'
      - type: object
        properties:
          type:
            type: string
            format: uri
            enum:
            - urn:numspot:errors#resource_not_found
        required:
        - type
      title: InventoryNotFoundError
    Error:
      $schema: https://json-schema.org/draft/2020-12/schema
      additionalProperties: false
      description: For HTTP errors, we implement the https://datatracker.ietf.org/doc/html/rfc9457
      examples:
      - detail: Ensure valid credentials are provided.
        instance: /foo/23c5f747-4b9f-4b14-a250-6d460673989c/bar/7666f8e3-71df-40e8-b533-006807ee0c19
        title: Unauthorized attempt to access a resource without proper authentication.
        type: urn:numspot:errors#unauthenticated_access
      properties:
        detail:
          description: Human-readable explanation specific to this occurrence of the problem.
          type: string
        instance:
          $ref: '#/components/schemas/Url'
          description: Url to fetch more information about this problem type.
        title:
          description: Human-readable summary of the problem type.
          type: string
        type:
          $ref: '#/components/schemas/Urn'
          description: A Uniform Resource Name defining the error type.
      required:
      - type
      - title
      title: Error
      type: object
    InventoryResourceProvider:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        name:
          type: string
          enum:
          - ovh
          - outscale
          description: Name of the provider
        id:
          type: string
          description: Id of the resource from the provider system
      title: InventoryResourceProvider
      required:
      - name
      - id
      description: Provider information for the resource
    InventoryResourceName:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: string
      title: InventoryResourceName
      description: Name of the resource
    InventoryResourceAvailabilityZone:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: string
      title: InventoryResourceAvailabilityZone
      enum:
      - eu-west-2a
      - eu-west-2b
      - eu-west-2c
      - cloudgouv-eu-west-1a
      - cloudgouv-eu-west-1b
      - cloudgouv-eu-west-1c
      description: Availability zone where the resource is deployed
    InventoryResourceRegion:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: string
      title: InventoryResourceRegion
      enum:
      - eu-west-2
      - cloudgouv-eu-west-1
      description: Region where the resource is deployed
    InventoryResourceLight:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        type:
          $ref: '#/components/schemas/InventoryResourceType'
        catalogName:
          $ref: '#/components/schemas/InventoryCatalogName'
        id:
          type: string
          format: uuid
        reference:
          type: string
        source:
          $ref: '#/components/schemas/InventoryResourceSource'
        state:
          $ref: '#/components/schemas/InventoryResourceState'
        details:
          type: object
          additionalProperties: true
        name:
          $ref: '#/components/schemas/InventoryResourceName'
        parent:
          $ref: '#/components/schemas/InventoryResourceParent'
        createdAt:
          type: string
          format: date-time
        region:
          $ref: '#/components/schemas/InventoryResourceRegion'
        availabilityZone:
          $ref: '#/components/schemas/InventoryResourceAvailabilityZone'
        tags:
          $ref: '#/components/schemas/InventoryResourceTags'
      title: InventoryResourceLight
      required:
      - type
      - source
      - state
      - details
      - id
      - reference
    Violation:
      $schema: https://json-schema.org/draft/2020-12/schema
      additionalProperties: false
      description: 'The violation definition. The location member says which part of the request failed. Exactly one address member is set: source.pointer for body, source.parameter for query, field for header, cookie and path.'
      properties:
        description:
          description: A description of why the field is violated.
          type: string
        field:
          description: The name of the violated header, cookie or path parameter. Required when location is header, cookie or path. Absent for body and query violations, which use source instead.
          type: string
        location:
          description: The part of the request the violation points at. The values follow the OpenAPI parameter locations, plus body for the request body.
          enum:
          - body
          - query
          - header
          - cookie
          - path
          type: string
        source:
          $ref: '#/components/schemas/ViolationSource'
          description: 'The address of the violated input, for the locations where a standard address format exists: source.pointer for the request body, source.parameter for URI query parameters. Required when location is body or query.'
      required:
      - location
      - description
      title: Violation
      type: object
    ViolationSource:
      $schema: https://json-schema.org/draft/2020-12/schema
      additionalProperties: false
      description: The address of one violated input. The pointer member is a JSON Pointer (RFC 6901) into the request body; the empty string addresses the whole body. The parameter member is the name of the offending URI query parameter.
      properties:
        parameter:
          description: The name of the offending URI query parameter.
          type: string
        pointer:
          $ref: '#/components/schemas/JsonPointer'
          description: JSON Pointer (RFC 6901) to the violated value inside the request body. The empty string addresses the whole body.
      title: ViolationSource
      type: object
    InventoryManagedService:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: boolean
      title: InventoryManagedService
      description: managedService is a boolean which is true if a resource was created by a managed service (kubernetes, postgresql, openshift)
    Urn:
      $schema: https://json-schema.org/draft/2020-12/schema
      description: Type defining an Uniform Resource Name (URN) according to the URN syntax defined in RFC 8141
      examples:
      - urn:example:my-resource
      - urn:example:resource?+param1=value1
      - urn:example:resource#section2
      pattern: ^[Uu][Rr][Nn]:(?<nid>[a-zA-Z0-9][a-zA-Z0-9-]{1,31}):(?<nss>(?:[-a-zA-Z0-9()+,.:=@;$_!*'&~/]|%[0-9a-fA-F]{2})+)(?:\?\+(?<rcomponent>.*?))?(?:\?=(?<qcomponent>.*?))?(?:#(?<fcomponent>.*?))?$
      title: Urn
      type: string
  parameters:
    SpaceId:
      description: Identifier of the Space
      in: path
      name: spaceId
      required: true
      schema:
        format: uuid
        type: string
    InventoryPaginatedRequest:
      name: page
      in: query
      description: Paginated request
      required: false
      style: deepObject
      schema:
        type: object
        properties:
          size:
            type: integer
            maximum: 50
            minimum: 1
            format: int32
            description: The maximum number of items to return. The service may return fewer than this value.
            default: 20
          nextToken:
            type: string
            description: A page token received from a previous call. Provide this to retrieve the subsequent page.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    BasicAuth:
      type: http
      scheme: basic
x-refined-from:
- numspot-api-openapi.json
- numspot-openapi.yml