import requests
url = "https://app.strandai.com/api/v1/jobs/{id}/results/files/signed"
payload = { "paths": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://app.strandai.com/api/v1/jobs/{id}/results/files/signed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"paths": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({paths: ['<string>']})
};
fetch('https://app.strandai.com/api/v1/jobs/{id}/results/files/signed', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.strandai.com/api/v1/jobs/{id}/results/files/signed",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'paths' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.strandai.com/api/v1/jobs/{id}/results/files/signed"
payload := strings.NewReader("{\n \"paths\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.strandai.com/api/v1/jobs/{id}/results/files/signed")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"paths\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.strandai.com/api/v1/jobs/{id}/results/files/signed")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"paths\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"schemaVersion": 1,
"layout": "raw",
"expiresAt": "2023-11-07T05:31:56Z",
"files": [
{
"path": "<string>",
"provider": "gcs",
"objectId": "<string>",
"version": "<string>",
"sizeBytes": 33554432,
"etag": "<string>",
"crc32c": "<string>",
"md5": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"url": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}Preflight signed result files
Returns single-object signed GET capabilities for raw stored result objects only, never decoded inner chunks or prefix access. All paths must pass the same organization, sample, readiness and delivered-marker gates as batch reads. Only zarr.json, _marker_frame.json, he/ and delivered markers/ paths are accepted. Duplicate paths are deduplicated in first-requested order. At most 16 paths, 64 MiB per object and 64 MiB total; all authorization, metadata and budget checks precede signing. The server fixes a common expiry no later than 120 seconds after preflight; provider credential expiry or object deletion can make a capability unusable sooner. URLs are replayable bearer secrets until effective expiry, not single-use or application-revocable. Changing API access does not revoke an issued URL. Direct storage reads incur provider requests/egress and bypass application read-byte accounting. No client storage credentials are required. A signed whole-object URL does not restrict the recipient to a Range. objectId is SHA-256 of compact UTF-8 JSON [provider,bucket,canonicalKey,version], an identity hash, NOT a content checksum. Checksums are provider base64 when available; ETag is opaque.
import requests
url = "https://app.strandai.com/api/v1/jobs/{id}/results/files/signed"
payload = { "paths": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://app.strandai.com/api/v1/jobs/{id}/results/files/signed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"paths": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({paths: ['<string>']})
};
fetch('https://app.strandai.com/api/v1/jobs/{id}/results/files/signed', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.strandai.com/api/v1/jobs/{id}/results/files/signed",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'paths' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.strandai.com/api/v1/jobs/{id}/results/files/signed"
payload := strings.NewReader("{\n \"paths\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.strandai.com/api/v1/jobs/{id}/results/files/signed")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"paths\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.strandai.com/api/v1/jobs/{id}/results/files/signed")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"paths\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"schemaVersion": 1,
"layout": "raw",
"expiresAt": "2023-11-07T05:31:56Z",
"files": [
{
"path": "<string>",
"provider": "gcs",
"objectId": "<string>",
"version": "<string>",
"sizeBytes": 33554432,
"etag": "<string>",
"crc32c": "<string>",
"md5": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"url": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"reason": "<string>",
"required": 123,
"retryAfterSeconds": 123
}objectId fingerprints the provider/bucket/key/version identity. Consumers
must verify the pinned generation/version, exact length and available full-object
MD5/CRC32C checksums. ETags are opaque and are not SHA-256 or necessarily MD5.
The Python SDK exposes complete preflight through JobResults.get_signed_files()
and direct reads through get_files_batch(..., transport="signed"). MCP’s
download_results export workflow is unchanged; this endpoint does not add a
URL-printing MCP tool.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
1 - 16 elements1 - 512Response
Private, no-store whole-object capability manifest. All entries have the same conservative expiry.
Was this page helpful?