Registry service#
The sole registry wire surface (the legacy v1 RegistryService has been removed). The read endpoints (GetImage / DeleteImage / SearchImages) delegate to shared RegistryService Java service methods — only CreateImage has a v2-specific service path (different OCI key, different DB fields). See file-level comment.
OpenAPI file: nominal.registry.v2.json
Endpoints#
Create image#
POST /registry/v2/images
Register a new container image from a previously uploaded tarball and attach it to the referenced containerized extractor. The client should first upload the tarball via the existing UploadService multipart flow, then call this endpoint with the object key to create the image record and start the push. Alternatively, set source_image_rid instead of object_path to register a new (extractor, tag) version that reuses an existing READY image’s stored binary — for metadata-only changes that don’t need a tarball re-upload.
Body
workspaceRidstring requiredWorkspace that owns the image. Must match the extractor’s workspace.
tagstring requiredUser-supplied tag (e.g. “latest”, “v1”). Unique within (workspace, extractor).
objectPathstringFull object-storage path (“s3://bucket/key”) of an uploaded tarball (UploadService multipart flow) in the configured upload bucket; mutually exclusive with source_image_rid.
extractorRidstring requiredThe containerized extractor this image is built for. Must exist in the same workspace.
inputsarray ofFileExtractionInputThe input files this extractor requires, mapped to environment variables that store the path to each file. At least one input must be declared. At least 1 item.
Fields of
FileExtractionInputenvironmentVariablestring requiredThe environment variable that stores the path to the input file.
namestring requiredName of the input file which users will be prompted with.
descriptionstringDescription of the input file which users will be prompted with.
fileFiltersarray ofFileFilterOptionally filter files for file selection.
Fields of
FileFiltersuffixFileSuffix
Fields of
FileSuffixsuffixstring required
requiredbooleanWhether the input file is required for the extractor to run.
parametersarray ofFileExtractionParameterParameters the extractor accepts.
Fields of
FileExtractionParameterenvironmentVariablestring requiredThe environment variable that stores the argument.
namestring requiredName of the parameter which users will be prompted with.
descriptionstringDescription of the parameter which users will be prompted with.
requiredbooleanWhether the parameter is required for the extractor to run.
fileOutputFormatFileOutputFormatFormat of the output file produced by the extractor.
Values of
FileOutputFormatFILE_OUTPUT_FORMAT_UNSPECIFIED
FILE_OUTPUT_FORMAT_PARQUET
FILE_OUTPUT_FORMAT_CSV
FILE_OUTPUT_FORMAT_PARQUET_TAR
FILE_OUTPUT_FORMAT_AVRO_STREAM
FILE_OUTPUT_FORMAT_JSON_L
FILE_OUTPUT_FORMAT_MANIFEST
defaultTimestampMetadataTimestampMetadatarequiredMetadata about the intermediate parquet this extractor will produce. Required so the image carries a complete execution contract: ingest needs timestamp metadata from the image or the request, and an image without a default silently depends on every caller supplying it. Callers may still override it per ingest request.
Fields of
TimestampMetadataseriesNamestring requiredName of the series within the output whose values are used as the row timestamp.
timestampTypeTimestampTyperequiredHow the values in
series_nameshould be interpreted as timestamps.Fields of
TimestampType- one of
relative,absoluterequired
relativeRelativeTimestamp
Fields of
RelativeTimestamptimeUnitstringUnit in which relative offsets are expressed. Aliases the classic REST TimeUnit alias.
offsetstring (date-time)Starting timestamp to use when indexing the file.
absoluteAbsoluteTimestamp
Fields of
AbsoluteTimestamp- one of
iso8601,epochOfTimeUnit,customFormatrequired
iso8601Iso8601Timestamp
epochOfTimeUnitEpochTimestamp
Fields of
EpochTimestamptimeUnitstringUnit in which epoch values are expressed (e.g. SECONDS, MILLISECONDS).
customFormatCustomTimestamp
Fields of
CustomTimestampformatstringThe format string should be in the format of the
DateTimeFormatterclass in Java.defaultYearintegerDefault year is accepted as an optional field for cases like IRIG time format. Will be overridden by year in time format.
defaultDayOfYearintegerDefault day of year is accepted as an optional field for cases like IRIG time format. Will be overridden by day of year in time format. From 1 to 366.
- one of
- one of
sourceImageRidstringExisting READY image of the same extractor whose stored binary the new version reuses (no tarball re-upload); mutually exclusive with object_path. At least 1 character.
exitCodeMappingsarray ofExitCodeMappingFallback exit-code-to-error mappings for extractors that cannot emit a structured /dev/termination-log document.
Fields of
ExitCodeMappingexitCodeintegerThe container process exit code this mapping applies to.
codestring requiredMachine-readable error code. Extractor-defined codes must fall outside the reserved platform namespace.
messagestring requiredHuman-readable error message.
retryablebooleanWhether the platform may retry the ingest for this failure.
resourcesContainerResourcesCompute resources the extractor container runs with. Unset fields fall back to the deployment-wide defaults.
Fields of
ContainerResourcescpuCoresinteger (int64)CPU cores requested for the container. From 1 to 32.
memoryGibinteger (int64)Memory in GiB, applied as both the request and the limit. From 1 to 128.
diskGibinteger (int64)Size in GiB of each of the ephemeral input and output volumes. From 1 to 512.
Response
imageContainerImage
Fields of
ContainerImageridstring
tagstringUser-supplied tag, unique within (workspace, extractor).
sizeBytesstring (int64)Size of the stored image in bytes once the image reaches READY.
statusContainerImageStatusCurrent lifecycle status (PENDING while pushing, READY after a successful push, FAILED otherwise).
Values of
ContainerImageStatusCONTAINER_IMAGE_STATUS_UNSPECIFIED
CONTAINER_IMAGE_STATUS_PENDING
CONTAINER_IMAGE_STATUS_READY
CONTAINER_IMAGE_STATUS_FAILED
createdAtstring (date-time)When the image record was created.
extractorRidstringThe containerized extractor this image is built for.
inputsarray ofFileExtractionInputThe input files this extractor requires, mapped to environment variables that store the path to each file.
Fields of
FileExtractionInputenvironmentVariablestringThe environment variable that stores the path to the input file.
namestringName of the input file which users will be prompted with.
descriptionstringDescription of the input file which users will be prompted with.
fileFiltersarray ofFileFilterOptionally filter files for file selection.
Fields of
FileFiltersuffixFileSuffix
Fields of
FileSuffixsuffixstring
requiredbooleanWhether the input file is required for the extractor to run.
parametersarray ofFileExtractionParameterParameters the extractor accepts.
Fields of
FileExtractionParameterenvironmentVariablestringThe environment variable that stores the argument.
namestringName of the parameter which users will be prompted with.
descriptionstringDescription of the parameter which users will be prompted with.
requiredbooleanWhether the parameter is required for the extractor to run.
fileOutputFormatFileOutputFormatFormat of the output file produced by the extractor.
Values of
FileOutputFormatFILE_OUTPUT_FORMAT_UNSPECIFIED
FILE_OUTPUT_FORMAT_PARQUET
FILE_OUTPUT_FORMAT_CSV
FILE_OUTPUT_FORMAT_PARQUET_TAR
FILE_OUTPUT_FORMAT_AVRO_STREAM
FILE_OUTPUT_FORMAT_JSON_L
FILE_OUTPUT_FORMAT_MANIFEST
defaultTimestampMetadataTimestampMetadataMetadata about the intermediate parquet this extractor will produce. If not set, timestamp metadata must be provided at ingest time.
Fields of
TimestampMetadataseriesNamestringName of the series within the output whose values are used as the row timestamp.
timestampTypeTimestampTypeHow the values in
series_nameshould be interpreted as timestamps.Fields of
TimestampType- one of
relative,absolute
relativeRelativeTimestamp
Fields of
RelativeTimestamptimeUnitstringUnit in which relative offsets are expressed. Aliases the classic REST TimeUnit alias.
offsetstring (date-time)Starting timestamp to use when indexing the file.
absoluteAbsoluteTimestamp
Fields of
AbsoluteTimestamp- one of
iso8601,epochOfTimeUnit,customFormat
iso8601Iso8601Timestamp
epochOfTimeUnitEpochTimestamp
Fields of
EpochTimestamptimeUnitstringUnit in which epoch values are expressed (e.g. SECONDS, MILLISECONDS).
customFormatCustomTimestamp
Fields of
CustomTimestampformatstringThe format string should be in the format of the
DateTimeFormatterclass in Java.defaultYearintegerDefault year is accepted as an optional field for cases like IRIG time format. Will be overridden by year in time format.
defaultDayOfYearintegerDefault day of year is accepted as an optional field for cases like IRIG time format. Will be overridden by day of year in time format. From 1 to 366.
- one of
- one of
exitCodeMappingsarray ofExitCodeMappingFallback exit-code-to-error mappings for extractors that cannot emit a structured /dev/termination-log document.
Fields of
ExitCodeMappingexitCodeintegerThe container process exit code this mapping applies to.
codestringMachine-readable error code. Extractor-defined codes must fall outside the reserved platform namespace.
messagestringHuman-readable error message.
retryablebooleanWhether the platform may retry the ingest for this failure.
resourcesContainerResourcesCompute resources this image’s extractor container runs with. Unset fields fall back to the deployment-wide defaults.
Fields of
ContainerResourcescpuCoresinteger (int64)CPU cores requested for the container. From 1 to 32.
memoryGibinteger (int64)Memory in GiB, applied as both the request and the limit. From 1 to 128.
diskGibinteger (int64)Size in GiB of each of the ephemeral input and output volumes. From 1 to 512.
Request
curl -X POST "https://api.gov.nominal.io/api/registry/v2/images" \
-H "Authorization: Bearer <api key>" \
-H "Content-Type: application/json" \
--data '{
"workspaceRid": "<workspace rid>",
"tag": "<tag>",
"extractorRid": "<extractor rid>",
"defaultTimestampMetadata": {
"seriesName": "<series name>",
"timestampType": {
"relative": {
"timeUnit": "<time unit>",
"offset": "2026-01-01T00:00:00Z"
}
}
}
}'
import requests
response = requests.post(
"https://api.gov.nominal.io/api/registry/v2/images",
headers={"Authorization": "Bearer <api key>"},
json={
"workspaceRid": "<workspace rid>",
"tag": "<tag>",
"extractorRid": "<extractor rid>",
"defaultTimestampMetadata": {
"seriesName": "<series name>",
"timestampType": {
"relative": {
"timeUnit": "<time unit>",
"offset": "2026-01-01T00:00:00Z",
},
},
},
},
)
response.raise_for_status()
print(response.json())
import httpx
response = httpx.post(
"https://api.gov.nominal.io/api/registry/v2/images",
headers={"Authorization": "Bearer <api key>"},
json={
"workspaceRid": "<workspace rid>",
"tag": "<tag>",
"extractorRid": "<extractor rid>",
"defaultTimestampMetadata": {
"seriesName": "<series name>",
"timestampType": {
"relative": {
"timeUnit": "<time unit>",
"offset": "2026-01-01T00:00:00Z",
},
},
},
},
)
response.raise_for_status()
print(response.json())
import asyncio
import aiohttp
async def main() -> None:
async with aiohttp.ClientSession() as session:
async with session.post(
"https://api.gov.nominal.io/api/registry/v2/images",
headers={"Authorization": "Bearer <api key>"},
json={
"workspaceRid": "<workspace rid>",
"tag": "<tag>",
"extractorRid": "<extractor rid>",
"defaultTimestampMetadata": {
"seriesName": "<series name>",
"timestampType": {
"relative": {
"timeUnit": "<time unit>",
"offset": "2026-01-01T00:00:00Z",
},
},
},
},
) as response:
response.raise_for_status()
print(await response.json())
asyncio.run(main())
Response: 200
{
"image": {
"rid": "<rid>",
"tag": "<tag>",
"sizeBytes": "1",
"status": "CONTAINER_IMAGE_STATUS_PENDING",
"createdAt": "2026-01-01T00:00:00Z",
"extractorRid": "<extractor rid>",
"inputs": [
{
"environmentVariable": "<environment variable>",
"name": "<name>",
"description": "<description>",
"fileFilters": [
{
"suffix": {
"suffix": "<suffix>"
}
}
],
"required": true
}
],
"parameters": [
{
"environmentVariable": "<environment variable>",
"name": "<name>",
"description": "<description>",
"required": true
}
],
"fileOutputFormat": "FILE_OUTPUT_FORMAT_PARQUET",
"defaultTimestampMetadata": {
"seriesName": "<series name>",
"timestampType": {
"relative": {
"timeUnit": "<time unit>",
"offset": "2026-01-01T00:00:00Z"
}
}
},
"exitCodeMappings": [
{
"exitCode": 1,
"code": "<code>",
"message": "<message>",
"retryable": true
}
],
"resources": {
"cpuCores": 1,
"memoryGib": 1,
"diskGib": 1
}
}
}
Search images#
POST /registry/v2/images/search
List container images in a workspace, optionally filtered by tag / status.
Body
workspaceRidstring required
filterSearchFilterOptional composable filter. Omit to list all images in the workspace.
Fields of
SearchFilter- one of
tag,status,and,extractorrequired
tagTagFilter
Fields of
TagFiltertagstring required
statusStatusFilter
Fields of
StatusFilterstatusContainerImageStatusrequired
Values of
ContainerImageStatusCONTAINER_IMAGE_STATUS_UNSPECIFIED
CONTAINER_IMAGE_STATUS_PENDING
CONTAINER_IMAGE_STATUS_READY
CONTAINER_IMAGE_STATUS_FAILED
andAndFilter
Fields of
AndFilterclausesarray ofSearchFilter
extractorExtractorFilter
Fields of
ExtractorFilterextractorRidstring required
- one of
pageSizeintegerFrom 1 to 1,000.
nextPageTokenstring
Response
imagesarray ofContainerImage
Fields of
ContainerImageridstring
tagstringUser-supplied tag, unique within (workspace, extractor).
sizeBytesstring (int64)Size of the stored image in bytes once the image reaches READY.
statusContainerImageStatusCurrent lifecycle status (PENDING while pushing, READY after a successful push, FAILED otherwise).
Values of
ContainerImageStatusCONTAINER_IMAGE_STATUS_UNSPECIFIED
CONTAINER_IMAGE_STATUS_PENDING
CONTAINER_IMAGE_STATUS_READY
CONTAINER_IMAGE_STATUS_FAILED
createdAtstring (date-time)When the image record was created.
extractorRidstringThe containerized extractor this image is built for.
inputsarray ofFileExtractionInputThe input files this extractor requires, mapped to environment variables that store the path to each file.
Fields of
FileExtractionInputenvironmentVariablestringThe environment variable that stores the path to the input file.
namestringName of the input file which users will be prompted with.
descriptionstringDescription of the input file which users will be prompted with.
fileFiltersarray ofFileFilterOptionally filter files for file selection.
Fields of
FileFiltersuffixFileSuffix
Fields of
FileSuffixsuffixstring
requiredbooleanWhether the input file is required for the extractor to run.
parametersarray ofFileExtractionParameterParameters the extractor accepts.
Fields of
FileExtractionParameterenvironmentVariablestringThe environment variable that stores the argument.
namestringName of the parameter which users will be prompted with.
descriptionstringDescription of the parameter which users will be prompted with.
requiredbooleanWhether the parameter is required for the extractor to run.
fileOutputFormatFileOutputFormatFormat of the output file produced by the extractor.
Values of
FileOutputFormatFILE_OUTPUT_FORMAT_UNSPECIFIED
FILE_OUTPUT_FORMAT_PARQUET
FILE_OUTPUT_FORMAT_CSV
FILE_OUTPUT_FORMAT_PARQUET_TAR
FILE_OUTPUT_FORMAT_AVRO_STREAM
FILE_OUTPUT_FORMAT_JSON_L
FILE_OUTPUT_FORMAT_MANIFEST
defaultTimestampMetadataTimestampMetadataMetadata about the intermediate parquet this extractor will produce. If not set, timestamp metadata must be provided at ingest time.
Fields of
TimestampMetadataseriesNamestringName of the series within the output whose values are used as the row timestamp.
timestampTypeTimestampTypeHow the values in
series_nameshould be interpreted as timestamps.Fields of
TimestampType- one of
relative,absolute
relativeRelativeTimestamp
Fields of
RelativeTimestamptimeUnitstringUnit in which relative offsets are expressed. Aliases the classic REST TimeUnit alias.
offsetstring (date-time)Starting timestamp to use when indexing the file.
absoluteAbsoluteTimestamp
Fields of
AbsoluteTimestamp- one of
iso8601,epochOfTimeUnit,customFormat
iso8601Iso8601Timestamp
epochOfTimeUnitEpochTimestamp
Fields of
EpochTimestamptimeUnitstringUnit in which epoch values are expressed (e.g. SECONDS, MILLISECONDS).
customFormatCustomTimestamp
Fields of
CustomTimestampformatstringThe format string should be in the format of the
DateTimeFormatterclass in Java.defaultYearintegerDefault year is accepted as an optional field for cases like IRIG time format. Will be overridden by year in time format.
defaultDayOfYearintegerDefault day of year is accepted as an optional field for cases like IRIG time format. Will be overridden by day of year in time format. From 1 to 366.
- one of
- one of
exitCodeMappingsarray ofExitCodeMappingFallback exit-code-to-error mappings for extractors that cannot emit a structured /dev/termination-log document.
Fields of
ExitCodeMappingexitCodeintegerThe container process exit code this mapping applies to.
codestringMachine-readable error code. Extractor-defined codes must fall outside the reserved platform namespace.
messagestringHuman-readable error message.
retryablebooleanWhether the platform may retry the ingest for this failure.
resourcesContainerResourcesCompute resources this image’s extractor container runs with. Unset fields fall back to the deployment-wide defaults.
Fields of
ContainerResourcescpuCoresinteger (int64)CPU cores requested for the container. From 1 to 32.
memoryGibinteger (int64)Memory in GiB, applied as both the request and the limit. From 1 to 128.
diskGibinteger (int64)Size in GiB of each of the ephemeral input and output volumes. From 1 to 512.
nextPageTokenstring
Request
curl -X POST "https://api.gov.nominal.io/api/registry/v2/images/search" \
-H "Authorization: Bearer <api key>" \
-H "Content-Type: application/json" \
--data '{
"workspaceRid": "<workspace rid>"
}'
import requests
response = requests.post(
"https://api.gov.nominal.io/api/registry/v2/images/search",
headers={"Authorization": "Bearer <api key>"},
json={"workspaceRid": "<workspace rid>"},
)
response.raise_for_status()
print(response.json())
import httpx
response = httpx.post(
"https://api.gov.nominal.io/api/registry/v2/images/search",
headers={"Authorization": "Bearer <api key>"},
json={"workspaceRid": "<workspace rid>"},
)
response.raise_for_status()
print(response.json())
import asyncio
import aiohttp
async def main() -> None:
async with aiohttp.ClientSession() as session:
async with session.post(
"https://api.gov.nominal.io/api/registry/v2/images/search",
headers={"Authorization": "Bearer <api key>"},
json={"workspaceRid": "<workspace rid>"},
) as response:
response.raise_for_status()
print(await response.json())
asyncio.run(main())
Response: 200
{
"images": [
{
"rid": "<rid>",
"tag": "<tag>",
"sizeBytes": "1",
"status": "CONTAINER_IMAGE_STATUS_PENDING",
"createdAt": "2026-01-01T00:00:00Z",
"extractorRid": "<extractor rid>",
"inputs": [
{
"environmentVariable": "<environment variable>",
"name": "<name>",
"description": "<description>",
"fileFilters": [
{
"suffix": {
"suffix": "<suffix>"
}
}
],
"required": true
}
],
"parameters": [
{
"environmentVariable": "<environment variable>",
"name": "<name>",
"description": "<description>",
"required": true
}
],
"fileOutputFormat": "FILE_OUTPUT_FORMAT_PARQUET",
"defaultTimestampMetadata": {
"seriesName": "<series name>",
"timestampType": {
"relative": {
"timeUnit": "<time unit>",
"offset": "2026-01-01T00:00:00Z"
}
}
},
"exitCodeMappings": [
{
"exitCode": 1,
"code": "<code>",
"message": "<message>",
"retryable": true
}
],
"resources": {
"cpuCores": 1,
"memoryGib": 1,
"diskGib": 1
}
}
],
"nextPageToken": "<next page token>"
}
Get image#
GET /registry/v2/images/{rid}
Get the current state of a container image.
Path parameters
ridstring required
Query parameters
workspaceRidstring required
Response
imageContainerImage
Fields of
ContainerImageridstring
tagstringUser-supplied tag, unique within (workspace, extractor).
sizeBytesstring (int64)Size of the stored image in bytes once the image reaches READY.
statusContainerImageStatusCurrent lifecycle status (PENDING while pushing, READY after a successful push, FAILED otherwise).
Values of
ContainerImageStatusCONTAINER_IMAGE_STATUS_UNSPECIFIED
CONTAINER_IMAGE_STATUS_PENDING
CONTAINER_IMAGE_STATUS_READY
CONTAINER_IMAGE_STATUS_FAILED
createdAtstring (date-time)When the image record was created.
extractorRidstringThe containerized extractor this image is built for.
inputsarray ofFileExtractionInputThe input files this extractor requires, mapped to environment variables that store the path to each file.
Fields of
FileExtractionInputenvironmentVariablestringThe environment variable that stores the path to the input file.
namestringName of the input file which users will be prompted with.
descriptionstringDescription of the input file which users will be prompted with.
fileFiltersarray ofFileFilterOptionally filter files for file selection.
Fields of
FileFiltersuffixFileSuffix
Fields of
FileSuffixsuffixstring
requiredbooleanWhether the input file is required for the extractor to run.
parametersarray ofFileExtractionParameterParameters the extractor accepts.
Fields of
FileExtractionParameterenvironmentVariablestringThe environment variable that stores the argument.
namestringName of the parameter which users will be prompted with.
descriptionstringDescription of the parameter which users will be prompted with.
requiredbooleanWhether the parameter is required for the extractor to run.
fileOutputFormatFileOutputFormatFormat of the output file produced by the extractor.
Values of
FileOutputFormatFILE_OUTPUT_FORMAT_UNSPECIFIED
FILE_OUTPUT_FORMAT_PARQUET
FILE_OUTPUT_FORMAT_CSV
FILE_OUTPUT_FORMAT_PARQUET_TAR
FILE_OUTPUT_FORMAT_AVRO_STREAM
FILE_OUTPUT_FORMAT_JSON_L
FILE_OUTPUT_FORMAT_MANIFEST
defaultTimestampMetadataTimestampMetadataMetadata about the intermediate parquet this extractor will produce. If not set, timestamp metadata must be provided at ingest time.
Fields of
TimestampMetadataseriesNamestringName of the series within the output whose values are used as the row timestamp.
timestampTypeTimestampTypeHow the values in
series_nameshould be interpreted as timestamps.Fields of
TimestampType- one of
relative,absolute
relativeRelativeTimestamp
Fields of
RelativeTimestamptimeUnitstringUnit in which relative offsets are expressed. Aliases the classic REST TimeUnit alias.
offsetstring (date-time)Starting timestamp to use when indexing the file.
absoluteAbsoluteTimestamp
Fields of
AbsoluteTimestamp- one of
iso8601,epochOfTimeUnit,customFormat
iso8601Iso8601Timestamp
epochOfTimeUnitEpochTimestamp
Fields of
EpochTimestamptimeUnitstringUnit in which epoch values are expressed (e.g. SECONDS, MILLISECONDS).
customFormatCustomTimestamp
Fields of
CustomTimestampformatstringThe format string should be in the format of the
DateTimeFormatterclass in Java.defaultYearintegerDefault year is accepted as an optional field for cases like IRIG time format. Will be overridden by year in time format.
defaultDayOfYearintegerDefault day of year is accepted as an optional field for cases like IRIG time format. Will be overridden by day of year in time format. From 1 to 366.
- one of
- one of
exitCodeMappingsarray ofExitCodeMappingFallback exit-code-to-error mappings for extractors that cannot emit a structured /dev/termination-log document.
Fields of
ExitCodeMappingexitCodeintegerThe container process exit code this mapping applies to.
codestringMachine-readable error code. Extractor-defined codes must fall outside the reserved platform namespace.
messagestringHuman-readable error message.
retryablebooleanWhether the platform may retry the ingest for this failure.
resourcesContainerResourcesCompute resources this image’s extractor container runs with. Unset fields fall back to the deployment-wide defaults.
Fields of
ContainerResourcescpuCoresinteger (int64)CPU cores requested for the container. From 1 to 32.
memoryGibinteger (int64)Memory in GiB, applied as both the request and the limit. From 1 to 128.
diskGibinteger (int64)Size in GiB of each of the ephemeral input and output volumes. From 1 to 512.
Request
curl "https://api.gov.nominal.io/api/registry/v2/images/<rid>?workspaceRid=<workspace rid>" \
-H "Authorization: Bearer <api key>"
import requests
response = requests.get(
"https://api.gov.nominal.io/api/registry/v2/images/<rid>?workspaceRid=<workspace rid>",
headers={"Authorization": "Bearer <api key>"},
)
response.raise_for_status()
print(response.json())
import httpx
response = httpx.get(
"https://api.gov.nominal.io/api/registry/v2/images/<rid>?workspaceRid=<workspace rid>",
headers={"Authorization": "Bearer <api key>"},
)
response.raise_for_status()
print(response.json())
import asyncio
import aiohttp
async def main() -> None:
async with aiohttp.ClientSession() as session:
async with session.get(
"https://api.gov.nominal.io/api/registry/v2/images/<rid>?workspaceRid=<workspace rid>",
headers={"Authorization": "Bearer <api key>"},
) as response:
response.raise_for_status()
print(await response.json())
asyncio.run(main())
Response: 200
{
"image": {
"rid": "<rid>",
"tag": "<tag>",
"sizeBytes": "1",
"status": "CONTAINER_IMAGE_STATUS_PENDING",
"createdAt": "2026-01-01T00:00:00Z",
"extractorRid": "<extractor rid>",
"inputs": [
{
"environmentVariable": "<environment variable>",
"name": "<name>",
"description": "<description>",
"fileFilters": [
{
"suffix": {
"suffix": "<suffix>"
}
}
],
"required": true
}
],
"parameters": [
{
"environmentVariable": "<environment variable>",
"name": "<name>",
"description": "<description>",
"required": true
}
],
"fileOutputFormat": "FILE_OUTPUT_FORMAT_PARQUET",
"defaultTimestampMetadata": {
"seriesName": "<series name>",
"timestampType": {
"relative": {
"timeUnit": "<time unit>",
"offset": "2026-01-01T00:00:00Z"
}
}
},
"exitCodeMappings": [
{
"exitCode": 1,
"code": "<code>",
"message": "<message>",
"retryable": true
}
],
"resources": {
"cpuCores": 1,
"memoryGib": 1,
"diskGib": 1
}
}
}
Delete image#
DELETE /registry/v2/images/{rid}
Delete a container image. Fails if any containerized extractor references it.
Path parameters
ridstring required
Query parameters
workspaceRidstring required
Response
An empty JSON object, {}.
Request
curl -X DELETE "https://api.gov.nominal.io/api/registry/v2/images/<rid>?workspaceRid=<workspace rid>" \
-H "Authorization: Bearer <api key>"
import requests
response = requests.delete(
"https://api.gov.nominal.io/api/registry/v2/images/<rid>?workspaceRid=<workspace rid>",
headers={"Authorization": "Bearer <api key>"},
)
response.raise_for_status()
print(response.json())
import httpx
response = httpx.delete(
"https://api.gov.nominal.io/api/registry/v2/images/<rid>?workspaceRid=<workspace rid>",
headers={"Authorization": "Bearer <api key>"},
)
response.raise_for_status()
print(response.json())
import asyncio
import aiohttp
async def main() -> None:
async with aiohttp.ClientSession() as session:
async with session.delete(
"https://api.gov.nominal.io/api/registry/v2/images/<rid>?workspaceRid=<workspace rid>",
headers={"Authorization": "Bearer <api key>"},
) as response:
response.raise_for_status()
print(await response.json())
asyncio.run(main())
Response: 200
{}
Types#
AbsoluteTimestamp#
Absolute timestamp parser variants.
Set exactly one of the fields below.
- one of
iso8601,epochOfTimeUnit,customFormatrequired
AndFilter#
clausesarray ofSearchFilter
ContainerImage#
Container image registered through the V2 (extractor-linked) registry flow. V2 images carry no user-supplied name — extractor identity replaces it as the stable handle.
ridstring required
tagstringUser-supplied tag, unique within (workspace, extractor).
sizeBytesstring (int64)Size of the stored image in bytes once the image reaches READY.
statusContainerImageStatusCurrent lifecycle status (PENDING while pushing, READY after a successful push, FAILED otherwise).
createdAtstring (date-time)When the image record was created.
extractorRidstringThe containerized extractor this image is built for.
inputsarray ofFileExtractionInputThe input files this extractor requires, mapped to environment variables that store the path to each file.
parametersarray ofFileExtractionParameterParameters the extractor accepts.
fileOutputFormatFileOutputFormatFormat of the output file produced by the extractor.
defaultTimestampMetadataTimestampMetadataMetadata about the intermediate parquet this extractor will produce. If not set, timestamp metadata must be provided at ingest time.
exitCodeMappingsarray ofExitCodeMappingFallback exit-code-to-error mappings for extractors that cannot emit a structured /dev/termination-log document.
resourcesContainerResourcesCompute resources this image’s extractor container runs with. Unset fields fall back to the deployment-wide defaults.
ContainerImageStatus#
CONTAINER_IMAGE_STATUS_UNSPECIFIED
CONTAINER_IMAGE_STATUS_PENDING
CONTAINER_IMAGE_STATUS_READY
CONTAINER_IMAGE_STATUS_FAILED
ContainerResources#
Compute resources granted to the container this image runs. Every field is optional; an unset field falls back to the deployment-wide default configured on combined-service. The upper bounds are a platform ceiling, not a guarantee the cluster can satisfy the request — an unschedulable pod fails the ingest with EXTRACTOR_UNSCHEDULABLE. RegistryService re-checks them server-side, because the first-party catalog flow calls CreateImage in-process and never reaches protovalidate.
cpuCoresinteger (int64)CPU cores requested for the container. From 1 to 32.
memoryGibinteger (int64)Memory in GiB, applied as both the request and the limit. From 1 to 128.
diskGibinteger (int64)Size in GiB of each of the ephemeral input and output volumes. From 1 to 512.
CustomTimestamp#
Absolute timestamps parsed with a user-supplied format string.
formatstringThe format string should be in the format of the
DateTimeFormatterclass in Java.defaultYearintegerDefault year is accepted as an optional field for cases like IRIG time format. Will be overridden by year in time format.
defaultDayOfYearintegerDefault day of year is accepted as an optional field for cases like IRIG time format. Will be overridden by day of year in time format. From 1 to 366.
EpochTimestamp#
Absolute timestamps expressed as an integer count of some time unit since the Unix epoch.
timeUnitstringUnit in which epoch values are expressed (e.g. SECONDS, MILLISECONDS).
ExitCodeMapping#
Maps a container exit code to a structured error, for extractors that cannot emit a structured /dev/termination-log document. Applied as a fallback error tier at ingest time.
exitCodeintegerThe container process exit code this mapping applies to.
codestring requiredMachine-readable error code. Extractor-defined codes must fall outside the reserved platform namespace.
messagestring requiredHuman-readable error message.
retryablebooleanWhether the platform may retry the ingest for this failure.
ExtractorFilter#
Selects images registered against a specific containerized extractor. Combine with a TagFilter (via AndFilter) to fetch a single (extractor, tag) image.
extractorRidstring required
FileExtractionInput#
Defines an input file to be provided to the extractor.
environmentVariablestring requiredThe environment variable that stores the path to the input file.
namestring requiredName of the input file which users will be prompted with.
descriptionstringDescription of the input file which users will be prompted with.
fileFiltersarray ofFileFilterOptionally filter files for file selection.
requiredbooleanWhether the input file is required for the extractor to run.
FileExtractionParameter#
Defines an input parameter to be provided to the extractor.
environmentVariablestring requiredThe environment variable that stores the argument.
namestring requiredName of the parameter which users will be prompted with.
descriptionstringDescription of the parameter which users will be prompted with.
requiredbooleanWhether the parameter is required for the extractor to run.
FileFilter#
Optional filter applied during file selection for a file input.
suffixFileSuffix
FileOutputFormat#
Output file format emitted by the extractor. Currently PARQUET, CSV, and PARQUET_TAR are the primary supported formats.
FILE_OUTPUT_FORMAT_UNSPECIFIED
FILE_OUTPUT_FORMAT_PARQUET
FILE_OUTPUT_FORMAT_CSV
FILE_OUTPUT_FORMAT_PARQUET_TAR
FILE_OUTPUT_FORMAT_AVRO_STREAM
FILE_OUTPUT_FORMAT_JSON_L
FILE_OUTPUT_FORMAT_MANIFEST
FileSuffix#
The expected suffix of the file. For example, “parquet”, “json”, “csv”, etc.
suffixstring required
Iso8601Timestamp#
Absolute timestamps serialized in ISO-8601 form. No additional parser configuration is needed.
An empty JSON object, {}.
RelativeTimestamp#
Relative timestamp parser: interprets each row’s timestamp as an offset from a fixed origin.
timeUnitstringUnit in which relative offsets are expressed. Aliases the classic REST TimeUnit alias.
offsetstring (date-time)Starting timestamp to use when indexing the file.
SearchFilter#
Set exactly one of the fields below.
- one of
tag,status,and,extractorrequired
StatusFilter#
statusContainerImageStatusrequired
TagFilter#
V2 search filter types. V2 deliberately omits NameFilter (v2 images have no user-supplied name) in favour of ExtractorFilter, which selects images by the containerized extractor they belong to.
tagstring required
TimestampMetadata#
Describes how to derive a row timestamp from the extracted output.
seriesNamestring requiredName of the series within the output whose values are used as the row timestamp.
timestampTypeTimestampTyperequiredHow the values in
series_nameshould be interpreted as timestamps.
TimestampType#
Selects between relative-offset and absolute-timestamp parsing strategies.
Set exactly one of the fields below.
- one of
relative,absoluterequired
relativeRelativeTimestamp
absoluteAbsoluteTimestamp
Page design based on Scalar, MIT License.