TimeSchedule
All time schedules.
Table-Specific Information
SELECT
Retrieve Linear TimeSchedule records:SELECT * FROM TimeSchedule LIMIT 1
INSERT
To insert a TimeSchedule record:INSERT INTO TimeSchedule (name) VALUES ('Engineering On-Call')
UPDATE
To update a TimeSchedule record:UPDATE TimeSchedule SET externalUrl = 'https://oncall.example.com/schedule' WHERE id = 'e9e975c3-bc37-4fdc-a737-269866061c3e'
DELETE
To delete a TimeSchedule record:DELETE FROM TimeSchedule WHERE id = 'e9e975c3-bc37-4fdc-a737-269866061c3e'
Columns
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False |
The unique identifier of the entity. |
| createdAt | Datetime | True |
The time at which the entity was created. |
| updatedAt | Datetime | True |
The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't been updated after creation. |
| archivedAt | Datetime | True |
The time at which the entity was archived. Null if the entity has not been archived. |
| name | String | False |
The name of the schedule. |
| externalId | String | False |
The identifier of the external schedule. |
| externalUrl | String | False |
The URL to the external schedule. |
| integrationId | String | True |
The identifier of the Linear integration populating the schedule. |
| entries | String | False |
The schedule entries. Accepts a JSON array of TimeScheduleEntryInput objects. Used only when creating or updating a record; reads return NULL. |