Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
Skip to Content
API ReferenceInferenceModel Imports

List your organization's model artifacts

The weights your organization's imports produced: each artifact's status, facts and the hardware it was found to fit. A ready artifact is what a dedicated endpoint of the import kind serves. Artifacts are listed by id.

Required permission

Requires the artifact.read permission. See Permissions for the roles and API key permissions that include it.

Command line

The orl CLI wraps this endpoint:

orl imports artifact list
GET
/v1/inference/artifacts

Authorization

apiKey
headerAuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).

Query Parameters

limit?integer
Range1 <= value <= 200
cursor?string

Response Body

Artifacts

application/json
  1. response
items*array<>
nextCursor?string
Example Request
curl -X GET 'https://api.openrelay.inc/v1/inference/artifacts'
Example Response
{  "items": [    {      "id": "string",      "importId": "string",      "status": "pending",      "weightsRef": "string",      "digest": "string",      "format": "string",      "architecture": "string",      "dtype": "string",      "quantization": "string",      "paramCount": 0,      "bytes": 0,      "files": 0,      "compat": {        "evaluatedAt": "2019-08-24T14:15:22Z",        "policyId": "string",        "policyVersion": 0,        "fits": [          "string"        ],        "refusals": {          "property1": "string",          "property2": "string"        }      }    }  ],  "nextCursor": "string"}