Retrieve a study task spec
Retrieves the details of an existing task specification.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
studyId
The unique identifier of the study.
taskSpecId
The unique identifier of the task specification.
Headers
X-Studies-Api-Version
Response headers
X-RateLimit-Limit
The number of requests permitted in the current rate limit window.
X-RateLimit-Remaining
The number of requests still available in the current rate limit window. When several limits apply, this reflects the per-API-key limit, so a request can be rejected while this value is above zero.
X-RateLimit-Reset
The number of seconds until the current rate limit window resets.
Response
The requested task specification.
id
Unique identifier for a study task specification.
title
The title of the task specification.
description
The description of the task specification.
type
The kind of work a task specification describes.
Allowed values:
execution
Execution configuration for typed task specs. Null for other task specs.
schedule
Schedule for a task specification. The type discriminator selects which of one_off, recurring or conditional is present; the others are omitted. timezone is set from the study on create and always returned on read.
target
Target type embedded on a task specification response.
study
The study a record belongs to, as embedded in animals, dosages, measurements, observations and samples. Carries the same attributes as a study retrieved directly, except that the project is given as an identifier rather than an embedded object.
created_at
UTC timestamp with microsecond precision, always suffixed with Z, in the form yyyy-MM-ddTHH:mm:ss.SSSSSSZ.
updated_at
UTC timestamp with microsecond precision, always suffixed with Z, in the form yyyy-MM-ddTHH:mm:ss.SSSSSSZ.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error