Create a share link
POST/compute/v1/share-links
Create an unauthenticated, read-only share link covering one or more predictions and/or pipelines that all live in the same workspace. The returned id is the bearer credential — treat it as a secret.
Body ParametersJSONExpand Collapse
access_parameters: optional object { access_mode } or object { access_mode, allowed_emails } Access-control parameters for the share link. Discriminated by access_mode: public requires no other fields; email requires a non-empty allowed_emails list.
access_parameters: optional object { access_mode } or object { access_mode, allowed_emails }
Access-control parameters for the share link. Discriminated by access_mode: public requires no other fields; email requires a non-empty allowed_emails list.
pipeline_ids: optional array of string
Pipelines to expose through the share link. Must belong to the resolved workspace. Up to 100 entries.
ReturnsExpand Collapse
id: string
Share link ID. This value is the bearer credential used to access the linked resources — treat it as a secret.
access_parameters: object { access_mode } or object { access_mode, allowed_emails } Access-control parameters for the share link. Discriminated by access_mode: public requires no other fields; email requires a non-empty allowed_emails list.
access_parameters: object { access_mode } or object { access_mode, allowed_emails }
Access-control parameters for the share link. Discriminated by access_mode: public requires no other fields; email requires a non-empty allowed_emails list.
Create a share link
curl https://api.boltz.bio/compute/v1/share-links \
-H 'Content-Type: application/json' \
-H "x-api-key: $BOLTZ_API_KEY" \
-d '{
"expires_at": "expires_at"
}'{
"id": "shr_qoEFr2BlPTBLuM5BinaC8x7iVPP_AwppEOmlxQjJ-eo",
"access_parameters": {
"access_mode": "public"
},
"archived_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"expires_at": "2019-12-27T18:11:19.117Z",
"pipeline_ids": [
"string"
],
"prediction_ids": [
"string"
],
"workspace_id": "workspace_id",
"url": "https://lab.boltz.bio/share/shr_qoEFr2BlPTBLuM5BinaC8x7iVPP_AwppEOmlxQjJ-eo"
}Returns Examples
{
"id": "shr_qoEFr2BlPTBLuM5BinaC8x7iVPP_AwppEOmlxQjJ-eo",
"access_parameters": {
"access_mode": "public"
},
"archived_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"expires_at": "2019-12-27T18:11:19.117Z",
"pipeline_ids": [
"string"
],
"prediction_ids": [
"string"
],
"workspace_id": "workspace_id",
"url": "https://lab.boltz.bio/share/shr_qoEFr2BlPTBLuM5BinaC8x7iVPP_AwppEOmlxQjJ-eo"
}