Skip to main content
The EMEP REST API exposes the full platform surface: model registration, compatibility checks, merge execution, experiment management, candidate evaluation, evolution runs, and artifact retrieval. All endpoints require authentication via API key in the Authorization header.

Authentication

Pass your API key in every request:
Missing or invalid keys return HTTP 401. Insufficient permissions return HTTP 403.

Endpoint Table

Merge Request Sequence

Representative Endpoint: POST /merge/execute

array[string]
required
Array of model IDs to merge. Minimum 2, maximum 8.
string
required
Merge strategy name. One of: slerp, ties, dare, task_arithmetic, franken_merge.
object
Strategy-specific parameters. For SLERP (Shoemake 1985): t (interpolation factor). For TIES (Yadav et al. 2023): density, epsilon. For DARE (Yu et al. 2023): drop_rate, rescale.
string
required
Desired ID for the merged model. Must be unique in the registry.
string
Unique identifier for the merge job. Use this to poll status.
string
Absolute URL to GET for progress updates.
string
Always CREATED. Transitions to PREPARING, RUNNING, EVALUATING, COMPLETED, or FAILED.

Error Responses

All endpoints return structured errors:
Common error codes: INCOMPATIBLE_MODELS, INVALID_STRATEGY, MODEL_NOT_FOUND, QUOTA_EXCEEDED, GPU_UNAVAILABLE, VALIDATION_FAILED.

Rate Limits

Authenticated requests are rate-limited per API key. Default limits: 100 requests per minute for reads, 10 per minute for merge and evolution jobs. Rate limit headers are included in all responses: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.

Integration Points

  • ModelRegistry: stores and retrieves model metadata.
  • MergeEngine: executes merge jobs asynchronously.
  • ExperimentTracker: creates and updates experiment records.
  • ArtifactStore: stores and serves artifact binaries.
  • EvaluationEngine: runs benchmark and candidate evaluation jobs.