MAP Docs
MARS

Operations

Every operation on MARS.

The full operation table for MARS. Each entry is dispatched through MapEngine::handle_request and matched on operation inside the protocols/mars-lib crate.

Index

OperationSummary
register_agentRegister an agent with its OAS DID and capability declaration.
query_registryQuery the registry by predicate; supports paging and capability filters.
publish_manifestPublish an artifact manifest (workflow, model, asset) with provenance.
discoveryDiscover entities/assets matching a capability or schema predicate.

Reference

register_agent

Register an agent with its OAS DID and capability declaration.

FieldValue
Capabilitymap.mars.register_agent
IdempotentNo — supply Idempotency-Key for safe retries
{
  "did": "did:oas:l1fe:agent:0x...",
  "capabilities": []
}

Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.

query_registry

Query the registry by predicate; supports paging and capability filters.

FieldValue
Capabilitymap.mars.query_registry
IdempotentNo — supply Idempotency-Key for safe retries
{
  "example": true
}

Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.

publish_manifest

Publish an artifact manifest (workflow, model, asset) with provenance.

FieldValue
Capabilitymap.mars.publish_manifest
IdempotentNo — supply Idempotency-Key for safe retries
{
  "example": true
}

Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.

discovery

Discover entities/assets matching a capability or schema predicate.

FieldValue
Capabilitymap.mars.discovery
IdempotentNo — supply Idempotency-Key for safe retries
{
  "example": true
}

Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.

On this page