563848e0ecc0
Fetch a single egress template by ID
Returns the full egress template record for the given templateId, including schedule configuration, version, and the GCS URL of the current mapping CSV.
When to use: call this to retrieve complete template detail before an update, or to inspect the current mapping and schedule configuration.
Preconditions: tenant-id header must be present. The template must belong to the tenant identified by tenant-id.
Cross-tenant isolation: if templateId exists but belongs to a different tenant, this returns 404 (not 403) to avoid revealing that the ID exists. Consumers should not interpret a 404 as proof the template does not exist for any tenant.
Returns: the full EgressTemplateResponse object. This operation is read-only with no side effects.
Path parameters
ID of the egress template to fetch, as returned by create/list.
Headers
Response
The egress template's full metadata, schedule configuration, and mapping CSV location
Example response
{
"createdAt": "2022-03-10T16:15:50Z",
"updatedAt": "2022-03-10T16:15:50Z",
"scheduleCron": "0 0 8 ? * MON",
"scheduleDaysOfWeek": "2,4,6",
"scheduleInterval": 6,
"lastExportAt": "2022-03-10T16:15:50Z",
"nextExportAt": "2022-03-10T16:15:50Z"
}