Physea Labs Algorithms Runtime API
The algorithms-runtime API from Physea Labs — 16 operation(s) for algorithms-runtime.
The algorithms-runtime API from Physea Labs — 16 operation(s) for algorithms-runtime.
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/physea-ai:physea-ai-algorithms-runtime-api"
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.
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: 3.2.0
info:
title: Liminality Router Service Algorithms Runtime API
version: '1.1'
tags:
- name: algorithms-runtime
paths:
/algorithm-versions:
get:
tags:
- algorithms-runtime
summary: List Algorithm Versions
description: This caller's algorithm versions (draft, validated, released).
operationId: list_algorithm_versions_algorithm_versions_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
post:
tags:
- algorithms-runtime
summary: Create Algorithm Version
description: 'Create a draft from a spec (schema: contracts/liminality-algorithm-version-v1.schema.json).'
operationId: create_algorithm_version_algorithm_versions_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VersionCreate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/algorithm-versions/{version_id}:
get:
tags:
- algorithms-runtime
summary: Describe Algorithm Version
operationId: describe_algorithm_version_algorithm_versions__version_id__get
parameters:
- name: version_id
in: path
required: true
schema:
type: string
title: Version Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/algorithm-versions/{version_id}/validate:
post:
tags:
- algorithms-runtime
summary: Validate Algorithm Version
operationId: validate_algorithm_version_algorithm_versions__version_id__validate_post
parameters:
- name: version_id
in: path
required: true
schema:
type: string
title: Version Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/algorithm-versions/{version_id}/release:
post:
tags:
- algorithms-runtime
summary: Release Algorithm Version
operationId: release_algorithm_version_algorithm_versions__version_id__release_post
parameters:
- name: version_id
in: path
required: true
schema:
type: string
title: Version Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/algorithm-versions/{version_id}/plans:
post:
tags:
- algorithms-runtime
summary: Prepare Deterministic Plan
description: 'Typed basis -> certified algorithm.scenario operation (no model call, no run, no
execution). Execute the returned operation through POST /runs with the returned
idempotency_key, then POST /runs/lifecycle/{id}/execute. Prose is refused.'
operationId: prepare_deterministic_plan_algorithm_versions__version_id__plans_post
parameters:
- name: version_id
in: path
required: true
schema:
type: string
title: Version Id
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: true
title: Body
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/algorithm-versions/{version_id}/plans/{plan_id}:
get:
tags:
- algorithms-runtime
summary: Get Deterministic Plan
operationId: get_deterministic_plan_algorithm_versions__version_id__plans__plan_id__get
parameters:
- name: version_id
in: path
required: true
schema:
type: string
title: Version Id
- name: plan_id
in: path
required: true
schema:
type: string
title: Plan Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/algorithm-versions/{version_id}/revise:
post:
tags:
- algorithms-runtime
summary: Revise Algorithm Version
description: Revision = a NEW draft version; the parent is untouched.
operationId: revise_algorithm_version_algorithm_versions__version_id__revise_post
parameters:
- name: version_id
in: path
required: true
schema:
type: string
title: Version Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/VersionRevise'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/datasets:
get:
tags:
- algorithms-runtime
summary: List Datasets
operationId: list_datasets_datasets_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
post:
tags:
- algorithms-runtime
summary: Import Dataset
description: Import rows as a new dataset version; dedupes by the declared key and reports rejected rows.
operationId: import_dataset_datasets_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DatasetImport'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/datasets/{dataset_id}:
get:
tags:
- algorithms-runtime
summary: Describe Dataset
operationId: describe_dataset_datasets__dataset_id__get
parameters:
- name: dataset_id
in: path
required: true
schema:
type: string
title: Dataset Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/datasets/{dataset_id}/correct:
post:
tags:
- algorithms-runtime
summary: Correct Dataset
description: 'Correct one observation → a NEW dataset version (the parent is untouched). Runs that
read the corrected observation are marked stale; unrelated runs are listed untouched.'
operationId: correct_dataset_datasets__dataset_id__correct_post
parameters:
- name: dataset_id
in: path
required: true
schema:
type: string
title: Dataset Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DatasetCorrect'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/datasets/{dataset_id}/lineage:
get:
tags:
- algorithms-runtime
summary: Dataset Lineage
description: Version chain, runs (with lineage state) and corrections for this dataset's chain.
operationId: dataset_lineage_datasets__dataset_id__lineage_get
parameters:
- name: dataset_id
in: path
required: true
schema:
type: string
title: Dataset Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/datasets/{dataset_id}/compatibility/{version_id}:
get:
tags:
- algorithms-runtime
summary: Dataset Compatibility
description: 'AT23: can this dataset feed that algorithm version? Reports missing inputs / type mismatches.'
operationId: dataset_compatibility_datasets__dataset_id__compatibility__version_id__get
parameters:
- name: dataset_id
in: path
required: true
schema:
type: string
title: Dataset Id
- name: version_id
in: path
required: true
schema:
type: string
title: Version Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/scenarios:
get:
tags:
- algorithms-runtime
summary: List Scenarios
operationId: list_scenarios_scenarios_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
post:
tags:
- algorithms-runtime
summary: Run Scenario
description: 'Pure run: released algorithm version × dataset version × parameters. model_calls is measured.'
operationId: run_scenario_scenarios_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ScenarioRun'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/scenarios/{run_id}:
get:
tags:
- algorithms-runtime
summary: Get Scenario
operationId: get_scenario_scenarios__run_id__get
parameters:
- name: run_id
in: path
required: true
schema:
type: string
title: Run Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/scenarios/{run_id}/replay:
post:
tags:
- algorithms-runtime
summary: Replay Scenario
description: Re-execute a stored run from its recorded versions; stale runs still reproduce.
operationId: replay_scenario_scenarios__run_id__replay_post
parameters:
- name: run_id
in: path
required: true
schema:
type: string
title: Run Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/scenarios/compare:
post:
tags:
- algorithms-runtime
summary: Compare Scenarios
operationId: compare_scenarios_scenarios_compare_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ScenarioCompare'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ScenarioCompare:
properties:
run_ids:
items:
type: string
type: array
title: Run Ids
additionalProperties: false
type: object
required:
- run_ids
title: ScenarioCompare
VersionCreate:
properties:
spec:
additionalProperties: true
type: object
title: Spec
additionalProperties: false
type: object
required:
- spec
title: VersionCreate
DatasetCorrect:
properties:
row_key:
title: Row Key
column:
type: string
title: Column
value:
title: Value
reason:
type: string
title: Reason
expected_data_hash:
anyOf:
- type: string
- type: 'null'
title: Expected Data Hash
additionalProperties: false
type: object
required:
- row_key
- column
- reason
title: DatasetCorrect
ScenarioRun:
properties:
algorithm_version_id:
type: string
title: Algorithm Version Id
dataset_version_id:
type: string
title: Dataset Version Id
parameters:
additionalProperties: true
type: object
title: Parameters
label:
type: string
title: Label
default: ''
additionalProperties: false
type: object
required:
- algorithm_version_id
- dataset_version_id
title: ScenarioRun
VersionRevise:
properties:
changes:
additionalProperties: true
type: object
title: Changes
additionalProperties: false
type: object
required:
- changes
title: VersionRevise
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
DatasetImport:
properties:
name:
type: string
title: Name
columns:
items:
additionalProperties: true
type: object
type: array
title: Columns
rows:
items:
additionalProperties: true
type: object
type: array
title: Rows
key:
type: string
title: Key
parent_version_id:
anyOf:
- type: string
- type: 'null'
title: Parent Version Id
mode:
type: string
title: Mode
default: replace
scope:
type: string
title: Scope
default: private
source:
type: string
title: Source
default: ''
additionalProperties: false
type: object
required:
- name
- columns
- rows
- key
title: DatasetImport
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError