GET
/
execution
/
{id}
/
files
[
  {
    "id": "1",
    "execution_id": "123e4567-e89b-12d3-a456-426614174000",
    "file_path": "2023-10-21_14-05-01/1697892305-screenshot.png",
    "file_ext": "png",
    "file_name": "1697892305-screenshot.png",
    "file_size": 2048,
    "mime_type": "image/png",
    "created_at": "2023-10-21T14:05:01Z",
    "signed_url": "https://storage.googleapis.com/asteroid-files/123e4567-e89b-12d3-a456-426614174000/2023-10-21_14-05-01/1697892305-screenshot.png"
  }
]

Path Parameters

id
string
required

Response

200
application/json
List of file records associated with the execution.
id
string
required

Unique file identifier.

Example:

"1"

execution_id
string
required

Execution ID associated with the file.

Example:

"123e4567-e89b-12d3-a456-426614174000"

file_path
string
required

Full GCS object path (e.g., "2023-10-21_14-05-01/1697892305-screenshot.png").

Example:

"2023-10-21_14-05-01/1697892305-screenshot.png"

file_ext
string
required

File extension.

Example:

"png"

file_name
string
required

File name.

Example:

"1697892305-screenshot.png"

file_size
integer
required

Size of the file in bytes.

Example:

2048

mime_type
string
required

MIME type of the file.

Example:

"image/png"

created_at
string
required

Timestamp when the file record was created.

Example:

"2023-10-21T14:05:01Z"

signed_url
string
required

Signed URL to download the file.

Example:

"https://storage.googleapis.com/asteroid-files/123e4567-e89b-12d3-a456-426614174000/2023-10-21_14-05-01/1697892305-screenshot.png"