Assets

Resolve asset ids to URLs

Changed on

Resolves up to 100 asset ids to their media URLs in one call — the batch counterpart of GET /assets/{assetId} for callers holding many ids, such as the reference input ids generation history reports. Each entry echoes its requested id; an id that is missing, deleted or outside the caller's access resolves to url null with not_found true, matching the single-read's deliberate ambiguity. A malformed asset_id rejects the whole request.

post/assets/resolve

Request

  • Base URL
    https://app.flora.ai/api/v1
  • URL
    https://app.flora.ai/api/v1/assets/resolve
  • Auth
    HTTP bearer

Request body

asset_idsstring[] required

Asset ids (asset_…) to resolve, up to 100 per call

Example request

{
  "asset_ids": [
    "asset_abc123"
  ]
}

Response

Assets resolved.

Example response

{
  "results": [
    {
      "asset_id": "asset_abc123"
    }
  ]
}

Changes

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • info

      endpoint added