artifacts

Locate Artifact

Which workspace an artifact lives in, for a link opened from another one.

An artifact's link carries only its slug, and the viewer lists the CURRENT workspace, so a link handed from one workspace to a member who is sitting in another found nothing and said "failed to load". This answers where it is, for a workspace the caller is a member of, so the viewer can say so and offer the switch. Membership is the whole gate: an artifact in a workspace the caller does not belong to is 404, the same answer as no artifact at all, so the slug cannot be used to probe.

get/api/artifacts/by-slug/{slug}

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/artifacts/by-slug/{slug}
  • Auth: none declared

Path parameters

slugstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 5 revisions of this API.