OpsMill Artifact API
The Artifact API from OpsMill — 2 operation(s) for artifact.
The Artifact API from OpsMill — 2 operation(s) for artifact.
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/opsmill-artifact-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
title: Infrahub Artifact API
version: 1.10.0
servers:
- url: https://sandbox.infrahub.app/api
description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Artifact
paths:
/api/artifact/{artifact_id}:
get:
summary: Get Artifact
operationId: get_artifact_api_artifact__artifact_id__get
security:
- HTTPBearer: []
- APIKeyHeader: []
parameters:
- name: artifact_id
in: path
required: true
schema:
type: string
title: Artifact Id
- name: branch
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Name of the branch to use for the query
title: Branch
description: Name of the branch to use for the query
- name: at
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Time to use for the query, in absolute or relative format
title: At
description: Time to use for the query, in absolute or relative format
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Artifact
/api/artifact/generate/{artifact_definition_id}:
post:
summary: Generate Artifact
operationId: generate_artifact_api_artifact_generate__artifact_definition_id__post
security:
- HTTPBearer: []
- APIKeyHeader: []
parameters:
- name: artifact_definition_id
in: path
required: true
schema:
type: string
title: Artifact Definition Id
- name: branch
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Name of the branch to use for the query
title: Branch
description: Name of the branch to use for the query
- name: at
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Time to use for the query, in absolute or relative format
title: At
description: Time to use for the query, in absolute or relative format
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ArtifactGeneratePayload'
description: Payload of the request, can be used to limit the scope of the query to a specific list of hosts
default:
nodes: []
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Artifact
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
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
ArtifactGeneratePayload:
properties:
nodes:
items:
type: string
type: array
title: Nodes
type: object
title: ArtifactGeneratePayload
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
APIKeyHeader:
type: apiKey
in: header
name: X-INFRAHUB-KEY