Перейти к содержанию
SoulFire LogoSoulFire

Get instance metadata

Это руководство доступно только на английском.

GET
/v1/instances/{instance_id}/metadata

Gets persistent metadata for the instance itself. Persistent metadata survives restarts and session changes.

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Path Parameters

instance_id*string

The unique identifier (UUID) of the instance.

Formatuuid

Response Body

Response containing the persistent metadata for an instance.

application/json
  1. response

Response containing the persistent metadata for an instance.

metadata*array<>

Metadata organized by namespace. Each namespace contains key-value pairs of metadata.

Example Request
curl -X GET 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/metadata'
Example Response
{
  "metadata": [
    {
      "namespace": "string",
      "entries": [
        {
          "key": "string",
          "value": null
        }
      ]
    }
  ]
}

Полезна ли эта страница?