> For the complete documentation index, see [llms.txt](https://docs.shortcutco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shortcutco.com/developers/api-reference/reference/teams.md). Agents can also search and read this documentation through its [MCP server](https://docs.shortcutco.com/~gitbook/mcp).

# Teams

Crews: the people who work together in the field.

The API calls crews teams, so crew ids appear as `teamId`, `assignedTeamId`, and `effectiveTeamId`.

Fields: [The team object](https://docs.shortcutco.com/developers/reference/objects/team) · [The snow crew order object](https://docs.shortcutco.com/developers/reference/objects/snow-crew-order) · [The snow order line object](https://docs.shortcutco.com/developers/reference/objects/snow-order-line).

## List teams

> Crews with their active members, newest first, or by last change when \`updatedSince\` is set. Archived crews are included with \`archivedAt\` unless \`archived\` filters them out. Membership changes do not change a crew's \`updatedAt\`.\
> \
> Returns a list of \[team objects]\(<https://docs.shortcutco.com/developers/reference/objects/team>).

```json
{"openapi":"3.1.0","info":{"title":"Shortcut API","version":"v1"},"tags":[{"name":"Teams","description":"The API calls crews teams, so crew ids appear as `teamId`, `assignedTeamId`, and `effectiveTeamId`.\n\nFields: [The team object](https://docs.shortcutco.com/developers/reference/objects/team) · [The snow crew order object](https://docs.shortcutco.com/developers/reference/objects/snow-crew-order) · [The snow order line object](https://docs.shortcutco.com/developers/reference/objects/snow-order-line)."}],"servers":[{"url":"https://api.shortcutco.com","description":"Production"}],"security":[{"bearerAuth":["teams:read"]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"scut_<env>_<id>_<secret>","description":"A workspace API token. Each operation lists the scopes it needs; `write` implies `read`, and `send`/`complete` are never implied."}},"headers":{"RateLimitLimit":{"schema":{"type":"integer"},"description":"Requests allowed in the tightest window."},"RateLimitRemaining":{"schema":{"type":"integer"},"description":"Requests left in that window."},"RateLimitReset":{"schema":{"type":"integer"},"description":"Seconds until that window resets."}},"schemas":{"Team":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The team's id."},"object":{"type":"string","const":"team","description":"Always `team`."},"name":{"type":"string","description":"The crew's name."},"color":{"type":["string","null"],"description":"The crew's color on the schedule, as `#RRGGBB`, or null."},"isDefault":{"type":"boolean","description":"Whether new work goes to this crew when no crew is chosen."},"sortOrder":{"type":"integer","description":"The crew's position in the app's crew lists, lowest first."},"members":{"type":"array","items":{"$ref":"#/components/schemas/TeamMember"},"description":"Active staff on the crew, in crew order."},"archivedAt":{"anyOf":[{"type":"string","format":"date-time","description":"When the crew was archived, ISO 8601 in UTC."},{"type":"null"}],"description":"When the crew was archived, ISO 8601 in UTC."},"createdAt":{"type":"string","format":"date-time","description":"When the crew was created, ISO 8601 in UTC."},"updatedAt":{"type":"string","format":"date-time","description":"When the crew last changed. Membership changes do not change it, ISO 8601 in UTC."}},"required":["id","object","name","color","isDefault","sortOrder","members","archivedAt","createdAt","updatedAt"],"additionalProperties":false,"description":"A team (crew) that does the work."},"TeamMember":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","description":"The staff user's id; see `GET /v1/users/{id}`."},"firstName":{"type":"string","description":"First name."},"lastName":{"type":"string","description":"Last name."}},"required":["userId","firstName","lastName"],"additionalProperties":false,"description":"An active staff member of the crew."},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error family, such as `invalid_request` or `permission`."},"code":{"type":"string","description":"Specific error code; see the errors page."},"message":{"type":"string","description":"A human-readable explanation."},"param":{"type":"string","description":"The input the error is about, such as `query.limit`."},"requiredScope":{"type":"string","description":"The scope the token is missing."},"requestId":{"type":"string","description":"Quote this id to support."},"docs":{"type":"string","description":"Link to the error's documentation."}},"required":["type","code","message","requestId","docs"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}},"responses":{"BadRequest":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unauthenticated":{"description":"The token is missing, invalid, expired, or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"SubscriptionRequired":{"description":"The workspace's subscription needs attention.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The token is missing a required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"No such object in this workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Rate limited; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InternalError":{"description":"Internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unavailable":{"description":"Temporarily unavailable; retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/v1/teams":{"get":{"operationId":"teams.list","tags":["Teams"],"summary":"List teams","description":"Crews with their active members, newest first, or by last change when `updatedSince` is set. Archived crews are included with `archivedAt` unless `archived` filters them out. Membership changes do not change a crew's `updatedAt`.\n\nReturns a list of [team objects](https://docs.shortcutco.com/developers/reference/objects/team).","parameters":[{"name":"limit","in":"query","required":false,"description":"How many items to return, 1-200. Defaults to 50.","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"description":"The `meta.nextCursor` from the previous page. Omit it for the first page.","schema":{"type":"string","minLength":1,"maxLength":4096}},{"name":"archived","in":"query","required":false,"description":"True for archived crews only, false for current crews only; omit for both.","schema":{"type":"boolean"}},{"name":"updatedSince","in":"query","required":false,"description":"ISO 8601 timestamp. Returns objects changed at or after it, oldest change first. Keep the largest `updatedAt` you have seen, subtract five minutes, and pass it on the next sync; deduplicate by `id`.","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Team"}},"meta":{"type":"object","properties":{"nextCursor":{"type":["string","null"],"description":"Pass as `cursor` to get the next page; null on the last page."},"hasMore":{"type":"boolean","description":"Whether another page exists."}},"required":["nextCursor","hasMore"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthenticated"},"402":{"$ref":"#/components/responses/SubscriptionRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}}}}
```

## Get a team

> One crew with its active members.\
> \
> Returns \[the team object]\(<https://docs.shortcutco.com/developers/reference/objects/team>).

```json
{"openapi":"3.1.0","info":{"title":"Shortcut API","version":"v1"},"tags":[{"name":"Teams","description":"The API calls crews teams, so crew ids appear as `teamId`, `assignedTeamId`, and `effectiveTeamId`.\n\nFields: [The team object](https://docs.shortcutco.com/developers/reference/objects/team) · [The snow crew order object](https://docs.shortcutco.com/developers/reference/objects/snow-crew-order) · [The snow order line object](https://docs.shortcutco.com/developers/reference/objects/snow-order-line)."}],"servers":[{"url":"https://api.shortcutco.com","description":"Production"}],"security":[{"bearerAuth":["teams:read"]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"scut_<env>_<id>_<secret>","description":"A workspace API token. Each operation lists the scopes it needs; `write` implies `read`, and `send`/`complete` are never implied."}},"headers":{"RateLimitLimit":{"schema":{"type":"integer"},"description":"Requests allowed in the tightest window."},"RateLimitRemaining":{"schema":{"type":"integer"},"description":"Requests left in that window."},"RateLimitReset":{"schema":{"type":"integer"},"description":"Seconds until that window resets."}},"schemas":{"Team":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The team's id."},"object":{"type":"string","const":"team","description":"Always `team`."},"name":{"type":"string","description":"The crew's name."},"color":{"type":["string","null"],"description":"The crew's color on the schedule, as `#RRGGBB`, or null."},"isDefault":{"type":"boolean","description":"Whether new work goes to this crew when no crew is chosen."},"sortOrder":{"type":"integer","description":"The crew's position in the app's crew lists, lowest first."},"members":{"type":"array","items":{"$ref":"#/components/schemas/TeamMember"},"description":"Active staff on the crew, in crew order."},"archivedAt":{"anyOf":[{"type":"string","format":"date-time","description":"When the crew was archived, ISO 8601 in UTC."},{"type":"null"}],"description":"When the crew was archived, ISO 8601 in UTC."},"createdAt":{"type":"string","format":"date-time","description":"When the crew was created, ISO 8601 in UTC."},"updatedAt":{"type":"string","format":"date-time","description":"When the crew last changed. Membership changes do not change it, ISO 8601 in UTC."}},"required":["id","object","name","color","isDefault","sortOrder","members","archivedAt","createdAt","updatedAt"],"additionalProperties":false,"description":"A team (crew) that does the work."},"TeamMember":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","description":"The staff user's id; see `GET /v1/users/{id}`."},"firstName":{"type":"string","description":"First name."},"lastName":{"type":"string","description":"Last name."}},"required":["userId","firstName","lastName"],"additionalProperties":false,"description":"An active staff member of the crew."},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error family, such as `invalid_request` or `permission`."},"code":{"type":"string","description":"Specific error code; see the errors page."},"message":{"type":"string","description":"A human-readable explanation."},"param":{"type":"string","description":"The input the error is about, such as `query.limit`."},"requiredScope":{"type":"string","description":"The scope the token is missing."},"requestId":{"type":"string","description":"Quote this id to support."},"docs":{"type":"string","description":"Link to the error's documentation."}},"required":["type","code","message","requestId","docs"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}},"responses":{"BadRequest":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unauthenticated":{"description":"The token is missing, invalid, expired, or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"SubscriptionRequired":{"description":"The workspace's subscription needs attention.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The token is missing a required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"No such object in this workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Rate limited; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InternalError":{"description":"Internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unavailable":{"description":"Temporarily unavailable; retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/v1/teams/{id}":{"get":{"operationId":"teams.get","tags":["Teams"],"summary":"Get a team","description":"One crew with its active members.\n\nReturns [the team object](https://docs.shortcutco.com/developers/reference/objects/team).","parameters":[{"name":"id","in":"path","required":true,"description":"The object's id.","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Team"},"meta":{"type":"object","properties":{},"additionalProperties":true,"description":"Facts about this request beside the object, such as `alreadyReminded` on a repeated reminder. Present only when there is something to report."}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthenticated"},"402":{"$ref":"#/components/responses/SubscriptionRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}}}}
```

## Read a crew's existing snow order at a declared depth

> Composes existing native snow board and visit ordering. Current visits and the possible next dispatch are distinct. Includes recorded crew-visible property access notes, never structured clear-by promises or per-stop arrival estimates. Requires all five existing record scopes, including opt-in access:read. Person sessions retain the native company-admin/full-schedule gate. More than 200 rows refuses rather than silently truncating.\
> \
> Returns \[the snow crew order object]\(<https://docs.shortcutco.com/developers/reference/objects/snow-crew-order).\\>
> \
> \*\*Errors specific to this endpoint:\*\* \[\`snow\_order\_changed\`]\(<https://docs.shortcutco.com/developers/concepts/errors#snow\\_order\\_changed>), \[\`snow\_order\_office\_only\`]\(<https://docs.shortcutco.com/developers/concepts/errors#snow\\_order\\_office\\_only>), \[\`snow\_order\_too\_large\`]\(<https://docs.shortcutco.com/developers/concepts/errors#snow\\_order\\_too\\_large>). Every endpoint can also return the \[common errors]\(<https://docs.shortcutco.com/developers/concepts/errors>).

```json
{"openapi":"3.1.0","info":{"title":"Shortcut API","version":"v1"},"tags":[{"name":"Teams","description":"The API calls crews teams, so crew ids appear as `teamId`, `assignedTeamId`, and `effectiveTeamId`.\n\nFields: [The team object](https://docs.shortcutco.com/developers/reference/objects/team) · [The snow crew order object](https://docs.shortcutco.com/developers/reference/objects/snow-crew-order) · [The snow order line object](https://docs.shortcutco.com/developers/reference/objects/snow-order-line)."}],"servers":[{"url":"https://api.shortcutco.com","description":"Production"}],"security":[{"bearerAuth":["jobs:read","visits:read","teams:read","customers:read","access:read"]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"scut_<env>_<id>_<secret>","description":"A workspace API token. Each operation lists the scopes it needs; `write` implies `read`, and `send`/`complete` are never implied."}},"headers":{"RateLimitLimit":{"schema":{"type":"integer"},"description":"Requests allowed in the tightest window."},"RateLimitRemaining":{"schema":{"type":"integer"},"description":"Requests left in that window."},"RateLimitReset":{"schema":{"type":"integer"},"description":"Seconds until that window resets."}},"schemas":{"SnowCrewOrder":{"type":"object","properties":{"object":{"type":"string","const":"snow_crew_order"},"teamId":{"type":"string","format":"uuid"},"teamName":{"type":"string"},"teamArchived":{"type":"boolean"},"date":{"type":"string"},"depthInches":{"type":"number"},"currentStops":{"type":"array","items":{"$ref":"#/components/schemas/SnowCurrentStop"}},"nextDispatch":{"type":"array","items":{"$ref":"#/components/schemas/SnowNextLine"}},"notInNextDispatch":{"type":"array","items":{"$ref":"#/components/schemas/SnowExcludedLine"}},"timing":{"type":"object","properties":{"estimatedArrivals":{"type":"null"},"driveMinutes":{"type":"null"},"reason":{"type":"string"}},"required":["estimatedArrivals","driveMinutes","reason"],"additionalProperties":false},"coverage":{"type":"string"}},"required":["object","teamId","teamName","teamArchived","date","depthInches","currentStops","nextDispatch","notInNextDispatch","timing","coverage"],"additionalProperties":false},"SnowCurrentStop":{"type":"object","properties":{"object":{"type":"string","const":"snow_order_line"},"jobId":{"type":"string","format":"uuid"},"customerId":{"type":"string","format":"uuid"},"customerName":{"type":"string"},"jobName":{"type":"string"},"propertyId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"address":{"type":["string","null"]},"accessNotes":{"type":["string","null"]},"accessNotesSource":{"type":"string","enum":["property_access_notes","not_recorded"]},"visitId":{"type":"string","format":"uuid"},"status":{"type":"string"},"routePosition":{"anyOf":[{"type":"integer"},{"type":"null"}]},"dispatchedDepthInches":{"type":["number","null"]}},"required":["object","jobId","customerId","customerName","jobName","propertyId","address","accessNotes","accessNotesSource","visitId","status","routePosition","dispatchedDepthInches"],"additionalProperties":false},"SnowNextLine":{"type":"object","properties":{"object":{"type":"string","const":"snow_order_line"},"jobId":{"type":"string","format":"uuid"},"customerId":{"type":"string","format":"uuid"},"customerName":{"type":"string"},"jobName":{"type":"string"},"propertyId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"address":{"type":["string","null"]},"accessNotes":{"type":["string","null"]},"accessNotesSource":{"type":"string","enum":["property_access_notes","not_recorded"]},"position":{"type":"integer"},"orderSource":{"type":"string","enum":["native_remembered","native_address_fallback"]}},"required":["object","jobId","customerId","customerName","jobName","propertyId","address","accessNotes","accessNotesSource","position","orderSource"],"additionalProperties":false},"SnowExcludedLine":{"type":"object","properties":{"object":{"type":"string","const":"snow_order_line"},"jobId":{"type":"string","format":"uuid"},"customerId":{"type":"string","format":"uuid"},"customerName":{"type":"string"},"jobName":{"type":"string"},"propertyId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"address":{"type":["string","null"]},"accessNotes":{"type":["string","null"]},"accessNotesSource":{"type":"string","enum":["property_access_notes","not_recorded"]},"reason":{"type":"string","enum":["manual","on_call","below_trigger","already_dispatched"]}},"required":["object","jobId","customerId","customerName","jobName","propertyId","address","accessNotes","accessNotesSource","reason"],"additionalProperties":false},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error family, such as `invalid_request` or `permission`."},"code":{"type":"string","description":"Specific error code; see the errors page."},"message":{"type":"string","description":"A human-readable explanation."},"param":{"type":"string","description":"The input the error is about, such as `query.limit`."},"requiredScope":{"type":"string","description":"The scope the token is missing."},"requestId":{"type":"string","description":"Quote this id to support."},"docs":{"type":"string","description":"Link to the error's documentation."}},"required":["type","code","message","requestId","docs"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}},"responses":{"BadRequest":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unauthenticated":{"description":"The token is missing, invalid, expired, or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"SubscriptionRequired":{"description":"The workspace's subscription needs attention.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The token is missing a required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"No such object in this workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Rate limited; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InternalError":{"description":"Internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unavailable":{"description":"Temporarily unavailable; retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/v1/teams/{id}/snow-order":{"get":{"operationId":"teams.snow_order.get","tags":["Teams"],"summary":"Read a crew's existing snow order at a declared depth","description":"Composes existing native snow board and visit ordering. Current visits and the possible next dispatch are distinct. Includes recorded crew-visible property access notes, never structured clear-by promises or per-stop arrival estimates. Requires all five existing record scopes, including opt-in access:read. Person sessions retain the native company-admin/full-schedule gate. More than 200 rows refuses rather than silently truncating.\n\nReturns [the snow crew order object](https://docs.shortcutco.com/developers/reference/objects/snow-crew-order).\n\n**Errors specific to this endpoint:** [`snow_order_changed`](https://docs.shortcutco.com/developers/concepts/errors#snow_order_changed), [`snow_order_office_only`](https://docs.shortcutco.com/developers/concepts/errors#snow_order_office_only), [`snow_order_too_large`](https://docs.shortcutco.com/developers/concepts/errors#snow_order_too_large). Every endpoint can also return the [common errors](https://docs.shortcutco.com/developers/concepts/errors).","parameters":[{"name":"id","in":"path","required":true,"description":"The object's id.","schema":{"type":"string","format":"uuid"}},{"name":"date","in":"query","required":true,"description":"The explicit service date in the company's calendar, `YYYY-MM-DD` in the workspace's timezone.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"depthInches","in":"query","required":true,"description":"Declared snow depth in inches, to one decimal place; not a weather measurement.","schema":{"type":"number","minimum":0.1,"maximum":60,"multipleOf":0.1}}],"responses":{"200":{"description":"Success.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SnowCrewOrder"},"meta":{"type":"object","properties":{},"additionalProperties":true,"description":"Facts about this request beside the object, such as `alreadyReminded` on a repeated reminder. Present only when there is something to report."}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthenticated"},"402":{"$ref":"#/components/responses/SubscriptionRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}}}}
```

## Read a crew's route for a weekday

> A crew's route as it repeats on one weekday: each recurring job once, in route order (the order a dispatcher kept for that weekday first, then where it sits on the crew's days), with the customer, address, how often it comes, minutes bid, which of the next dates on that weekday it is on, and the stops before and after it. Read from the crew's open visits on the next \`weeks\` dates on that weekday from \`from\` (default today). One-time and on-demand visits are counted, not listed.

```json
{"openapi":"3.1.0","info":{"title":"Shortcut API","version":"v1"},"tags":[{"name":"Teams","description":"The API calls crews teams, so crew ids appear as `teamId`, `assignedTeamId`, and `effectiveTeamId`.\n\nFields: [The team object](https://docs.shortcutco.com/developers/reference/objects/team) · [The snow crew order object](https://docs.shortcutco.com/developers/reference/objects/snow-crew-order) · [The snow order line object](https://docs.shortcutco.com/developers/reference/objects/snow-order-line)."}],"servers":[{"url":"https://api.shortcutco.com","description":"Production"}],"security":[{"bearerAuth":["jobs:read","visits:read","teams:read"]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"scut_<env>_<id>_<secret>","description":"A workspace API token. Each operation lists the scopes it needs; `write` implies `read`, and `send`/`complete` are never implied."}},"headers":{"RateLimitLimit":{"schema":{"type":"integer"},"description":"Requests allowed in the tightest window."},"RateLimitRemaining":{"schema":{"type":"integer"},"description":"Requests left in that window."},"RateLimitReset":{"schema":{"type":"integer"},"description":"Seconds until that window resets."}},"responses":{"BadRequest":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unauthenticated":{"description":"The token is missing, invalid, expired, or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"SubscriptionRequired":{"description":"The workspace's subscription needs attention.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The token is missing a required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"No such object in this workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Rate limited; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InternalError":{"description":"Internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unavailable":{"description":"Temporarily unavailable; retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error family, such as `invalid_request` or `permission`."},"code":{"type":"string","description":"Specific error code; see the errors page."},"message":{"type":"string","description":"A human-readable explanation."},"param":{"type":"string","description":"The input the error is about, such as `query.limit`."},"requiredScope":{"type":"string","description":"The scope the token is missing."},"requestId":{"type":"string","description":"Quote this id to support."},"docs":{"type":"string","description":"Link to the error's documentation."}},"required":["type","code","message","requestId","docs"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}},"paths":{"/v1/teams/{id}/weekday-route":{"get":{"operationId":"teams.weekday_route.get","tags":["Teams"],"summary":"Read a crew's route for a weekday","description":"A crew's route as it repeats on one weekday: each recurring job once, in route order (the order a dispatcher kept for that weekday first, then where it sits on the crew's days), with the customer, address, how often it comes, minutes bid, which of the next dates on that weekday it is on, and the stops before and after it. Read from the crew's open visits on the next `weeks` dates on that weekday from `from` (default today). One-time and on-demand visits are counted, not listed.","parameters":[{"name":"id","in":"path","required":true,"description":"The object's id.","schema":{"type":"string","format":"uuid"}},{"name":"weekday","in":"query","required":true,"description":"The weekday, lowercase: `monday` … `sunday`.","schema":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]}},{"name":"from","in":"query","required":false,"description":"The first day to look from, `YYYY-MM-DD` in the workspace's timezone.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"weeks","in":"query","required":false,"description":"How many weeks of that weekday to read, 1 to 8. Defaults to 4, enough for jobs every 2 or 4 weeks.","schema":{"type":"integer","minimum":1,"maximum":8,"default":4}}],"responses":{"200":{"description":"Success.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"teamId":{"type":"string","format":"uuid"},"crew":{"type":"string"},"weekday":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]},"dates":{"type":"array","items":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"description":"The dates read, the next ones on that weekday from `from`."},"savedOrder":{"type":"boolean","description":"True when a dispatcher kept an order for this crew's weekday; stops in it come first, in that order."},"stops":{"type":"array","items":{"type":"object","properties":{"position":{"type":"integer","description":"1 for the first stop."},"jobId":{"type":"string","format":"uuid","description":"The job of the latest visit read."},"customerId":{"type":"string","format":"uuid"},"customerName":{"type":"string"},"address":{"type":["string","null"]},"jobName":{"type":"string"},"every":{"type":"string","description":"How often the job comes: \"every week\", \"every 2 weeks\"."},"estimatedMinutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Minutes bid on site: the job's override, else the service's minutes per stop."},"dates":{"type":"array","items":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"description":"Which of `dates` it is on."},"nextVisitId":{"type":"string","format":"uuid"},"inSavedOrder":{"type":"boolean"},"previous":{"anyOf":[{"type":"object","properties":{"jobId":{"type":"string","format":"uuid"},"customerName":{"type":"string"}},"required":["jobId","customerName"],"additionalProperties":false},{"type":"null"}],"description":"The stop before it on the route."},"next":{"anyOf":[{"type":"object","properties":{"jobId":{"type":"string","format":"uuid"},"customerName":{"type":"string"}},"required":["jobId","customerName"],"additionalProperties":false},{"type":"null"}],"description":"The stop after it on the route."}},"required":["position","jobId","customerId","customerName","address","jobName","every","estimatedMinutes","dates","nextVisitId","inSavedOrder","previous","next"],"additionalProperties":false}},"estimatedMinutes":{"type":"integer","description":"The stops' bid minutes added up (stops with none count 0)."},"oneTimeVisits":{"type":"integer","description":"One-time and on-demand visits on those dates, left out of the stops."}},"required":["teamId","crew","weekday","dates","savedOrder","stops","estimatedMinutes","oneTimeVisits"],"additionalProperties":false},"meta":{"type":"object","properties":{},"additionalProperties":true,"description":"Facts about this request beside the object, such as `alreadyReminded` on a repeated reminder. Present only when there is something to report."}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthenticated"},"402":{"$ref":"#/components/responses/SubscriptionRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}}}}
```

## Find the crews nearest a place today

> Today's crews nearest a place, closest first, in straight-line miles from each crew's last started or finished visit today (where the crew pressed Start when the phone sent it, else that visit's map pin), or from where its day starts before its first stamp. Never a live location. With each crew: when it last stamped a visit and how many visits it has left today.

```json
{"openapi":"3.1.0","info":{"title":"Shortcut API","version":"v1"},"tags":[{"name":"Teams","description":"The API calls crews teams, so crew ids appear as `teamId`, `assignedTeamId`, and `effectiveTeamId`.\n\nFields: [The team object](https://docs.shortcutco.com/developers/reference/objects/team) · [The snow crew order object](https://docs.shortcutco.com/developers/reference/objects/snow-crew-order) · [The snow order line object](https://docs.shortcutco.com/developers/reference/objects/snow-order-line)."}],"servers":[{"url":"https://api.shortcutco.com","description":"Production"}],"security":[{"bearerAuth":["teams:read","visits:read","jobs:read"]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"scut_<env>_<id>_<secret>","description":"A workspace API token. Each operation lists the scopes it needs; `write` implies `read`, and `send`/`complete` are never implied."}},"headers":{"RateLimitLimit":{"schema":{"type":"integer"},"description":"Requests allowed in the tightest window."},"RateLimitRemaining":{"schema":{"type":"integer"},"description":"Requests left in that window."},"RateLimitReset":{"schema":{"type":"integer"},"description":"Seconds until that window resets."}},"responses":{"BadRequest":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unauthenticated":{"description":"The token is missing, invalid, expired, or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"SubscriptionRequired":{"description":"The workspace's subscription needs attention.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The token is missing a required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"No such object in this workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Rate limited; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InternalError":{"description":"Internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unavailable":{"description":"Temporarily unavailable; retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error family, such as `invalid_request` or `permission`."},"code":{"type":"string","description":"Specific error code; see the errors page."},"message":{"type":"string","description":"A human-readable explanation."},"param":{"type":"string","description":"The input the error is about, such as `query.limit`."},"requiredScope":{"type":"string","description":"The scope the token is missing."},"requestId":{"type":"string","description":"Quote this id to support."},"docs":{"type":"string","description":"Link to the error's documentation."}},"required":["type","code","message","requestId","docs"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}},"paths":{"/v1/teams/nearest":{"get":{"operationId":"teams.nearest.list","tags":["Teams"],"summary":"Find the crews nearest a place today","description":"Today's crews nearest a place, closest first, in straight-line miles from each crew's last started or finished visit today (where the crew pressed Start when the phone sent it, else that visit's map pin), or from where its day starts before its first stamp. Never a live location. With each crew: when it last stamped a visit and how many visits it has left today.","parameters":[{"name":"aroundType","in":"query","required":true,"description":"The place: customer, property, lead, visit, or company (where crews start, else the company address; no id).","schema":{"type":"string","enum":["customer","property","lead","visit","company"]}},{"name":"aroundId","in":"query","required":false,"description":"The place: the record's id. Leave out for company.","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"date":{"type":"string","description":"Today, in company time."},"around":{"type":"object","properties":{"type":{"type":"string","enum":["customer","property","lead","visit","company"]},"id":{"type":["string","null"]},"name":{"type":"string"},"address":{"type":["string","null"]},"mapped":{"type":"boolean","description":"False when the address has no map pin, so nothing could be measured from it."},"pin":{"type":["string","null"],"description":"The map pin as lat,lng, for show_map and show_directions."}},"required":["type","id","name","address","mapped","pin"],"additionalProperties":false},"crews":{"type":"array","items":{"type":"object","properties":{"crewId":{"type":"string","format":"uuid"},"crew":{"type":"string"},"miles":{"type":["number","null"],"description":"Straight-line miles from the crew's position to the place; null when either has no map pin."},"from":{"type":"string","enum":["last_stamp","day_start"],"description":"`last_stamp`: from the last visit the crew started or finished today. `day_start`: no stamp yet, from where its day starts."},"fromVisitId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"The visit the position comes from; null before the first stamp."},"lastStampAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When the crew last started or finished a visit today; null before its first."},"stampedPosition":{"type":"boolean","description":"True when the position is where the crew pressed Start; false when it is a visit's map pin or the day's start."},"visitsToday":{"type":"integer"},"visitsLeft":{"type":"integer","description":"Visits not yet completed today."}},"required":["crewId","crew","miles","from","fromVisitId","lastStampAt","stampedPosition","visitsToday","visitsLeft"],"additionalProperties":false}},"unassigned":{"type":"integer","description":"Today's visits with no crew, which no crew's position counts."}},"required":["date","around","crews","unassigned"],"additionalProperties":false},"meta":{"type":"object","properties":{},"additionalProperties":true,"description":"Facts about this request beside the object, such as `alreadyReminded` on a repeated reminder. Present only when there is something to report."}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthenticated"},"402":{"$ref":"#/components/responses/SubscriptionRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}}}}
```

## Read open hours by crew and day

> Each active crew's working days from \`from\` to \`to\` (default today and the next 6 days, at most 31): people on the crew that day, productive hours, booked person-hours (visits and project days) and open hours. A crew-day with nobody on it has \`rosterSet: false\` and no open hours. Days outside the company's working week are left out.

```json
{"openapi":"3.1.0","info":{"title":"Shortcut API","version":"v1"},"tags":[{"name":"Teams","description":"The API calls crews teams, so crew ids appear as `teamId`, `assignedTeamId`, and `effectiveTeamId`.\n\nFields: [The team object](https://docs.shortcutco.com/developers/reference/objects/team) · [The snow crew order object](https://docs.shortcutco.com/developers/reference/objects/snow-crew-order) · [The snow order line object](https://docs.shortcutco.com/developers/reference/objects/snow-order-line)."}],"servers":[{"url":"https://api.shortcutco.com","description":"Production"}],"security":[{"bearerAuth":["jobs:read","visits:read","teams:read"]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"scut_<env>_<id>_<secret>","description":"A workspace API token. Each operation lists the scopes it needs; `write` implies `read`, and `send`/`complete` are never implied."}},"headers":{"RateLimitLimit":{"schema":{"type":"integer"},"description":"Requests allowed in the tightest window."},"RateLimitRemaining":{"schema":{"type":"integer"},"description":"Requests left in that window."},"RateLimitReset":{"schema":{"type":"integer"},"description":"Seconds until that window resets."}},"schemas":{"CrewOpenHours":{"type":"object","properties":{"object":{"type":"string","const":"crew_open_hours"},"teamId":{"type":"string","format":"uuid"},"teamName":{"type":"string"},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"people":{"type":"integer","description":"People on the crew that day (regular crew plus that day's changes)."},"rosterSet":{"type":"boolean","description":"False when nobody is on the crew that day: its hours are unknown, never zero open."},"capacityHours":{"type":["number","null"]},"bookedHours":{"type":"number","description":"Person-hours booked: visits at their bid or estimated minutes (times the crew), plus project days."},"openHours":{"type":["number","null"],"description":"Capacity less booked; negative when the day is over; null when the roster is not set."}},"required":["object","teamId","teamName","date","people","rosterSet","capacityHours","bookedHours","openHours"],"additionalProperties":false},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error family, such as `invalid_request` or `permission`."},"code":{"type":"string","description":"Specific error code; see the errors page."},"message":{"type":"string","description":"A human-readable explanation."},"param":{"type":"string","description":"The input the error is about, such as `query.limit`."},"requiredScope":{"type":"string","description":"The scope the token is missing."},"requestId":{"type":"string","description":"Quote this id to support."},"docs":{"type":"string","description":"Link to the error's documentation."}},"required":["type","code","message","requestId","docs"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}},"responses":{"BadRequest":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unauthenticated":{"description":"The token is missing, invalid, expired, or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"SubscriptionRequired":{"description":"The workspace's subscription needs attention.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The token is missing a required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"No such object in this workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Rate limited; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InternalError":{"description":"Internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unavailable":{"description":"Temporarily unavailable; retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/v1/teams/open-hours":{"get":{"operationId":"teams.open_hours.list","tags":["Teams"],"summary":"Read open hours by crew and day","description":"Each active crew's working days from `from` to `to` (default today and the next 6 days, at most 31): people on the crew that day, productive hours, booked person-hours (visits and project days) and open hours. A crew-day with nobody on it has `rosterSet: false` and no open hours. Days outside the company's working week are left out.","parameters":[{"name":"from","in":"query","required":false,"description":"The first day, `YYYY-MM-DD` in the workspace's timezone.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"to","in":"query","required":false,"description":"The last day, `YYYY-MM-DD` in the workspace's timezone.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"teamId","in":"query","required":false,"description":"One crew; every active crew when left out.","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"workingDays":{"type":"array","items":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]},"description":"The company's working week; other days are left out."},"hoursPerPerson":{"type":"number","description":"Productive hours per person per day (Settings › Crew capacity); a crew's own figure overrides it."},"notes":{"type":"array","items":{"type":"string"}},"days":{"type":"array","items":{"$ref":"#/components/schemas/CrewOpenHours"}}},"required":["from","to","workingDays","hoursPerPerson","notes","days"],"additionalProperties":false},"meta":{"type":"object","properties":{},"additionalProperties":true,"description":"Facts about this request beside the object, such as `alreadyReminded` on a repeated reminder. Present only when there is something to report."}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthenticated"},"402":{"$ref":"#/components/responses/SubscriptionRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}}}}
```

## Read today's existing crew progress

> Complete current-day facts for readable crews in the workspace's timezone, using the native Dashboard calculation. Missing stamps or planned times are explicit; no ahead estimate, booked-minute fallback or projected finish. Refuses over 1000 visits or 200 crews rather than returning partial totals.\
> \
> Returns \[the crew progress object]\(<https://docs.shortcutco.com/developers/reference/objects/crew-progress).\\>
> \
> \*\*Errors specific to this endpoint:\*\* \[\`crew\_progress\_limit\`]\(<https://docs.shortcutco.com/developers/concepts/errors#crew\\_progress\\_limit>). Every endpoint can also return the \[common errors]\(<https://docs.shortcutco.com/developers/concepts/errors>).

```json
{"openapi":"3.1.0","info":{"title":"Shortcut API","version":"v1"},"tags":[{"name":"Teams","description":"The API calls crews teams, so crew ids appear as `teamId`, `assignedTeamId`, and `effectiveTeamId`.\n\nFields: [The team object](https://docs.shortcutco.com/developers/reference/objects/team) · [The snow crew order object](https://docs.shortcutco.com/developers/reference/objects/snow-crew-order) · [The snow order line object](https://docs.shortcutco.com/developers/reference/objects/snow-order-line)."}],"servers":[{"url":"https://api.shortcutco.com","description":"Production"}],"security":[{"bearerAuth":["visits:read","teams:read"]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"scut_<env>_<id>_<secret>","description":"A workspace API token. Each operation lists the scopes it needs; `write` implies `read`, and `send`/`complete` are never implied."}},"headers":{"RateLimitLimit":{"schema":{"type":"integer"},"description":"Requests allowed in the tightest window."},"RateLimitRemaining":{"schema":{"type":"integer"},"description":"Requests left in that window."},"RateLimitReset":{"schema":{"type":"integer"},"description":"Seconds until that window resets."}},"schemas":{"CrewProgress":{"type":"object","properties":{"object":{"type":"string","const":"crew_progress"},"date":{"type":"string"},"asOf":{"type":"string","format":"date-time"},"crews":{"type":"array","items":{"$ref":"#/components/schemas/CrewProgressRow"}},"stopNames":{"type":"object","additionalProperties":{"type":"string"},"description":"Current/next visit id to customer display name, only with customers:read."},"coverage":{"type":"string"},"limitations":{"type":"string"}},"required":["object","date","asOf","crews","coverage","limitations"],"additionalProperties":false},"CrewProgressRow":{"type":"object","properties":{"object":{"type":"string","const":"crew_progress_row"},"teamId":{"type":"string","format":"uuid"},"teamName":{"type":"string"},"done":{"type":"integer"},"total":{"type":"integer"},"left":{"type":"integer"},"currentVisitId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"nextVisitId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"lastStampAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"hasStamps":{"type":"boolean"},"plannedVisits":{"type":"integer"},"timingStatus":{"type":"string","enum":["no_stamps","no_planned_times","existing_calculation"]},"nativeMinutesBehind":{"type":"integer"},"nativeBehind":{"type":"boolean"},"note":{"type":"string"}},"required":["object","teamId","teamName","done","total","left","currentVisitId","nextVisitId","lastStampAt","hasStamps","plannedVisits","timingStatus","nativeMinutesBehind","nativeBehind","note"],"additionalProperties":false},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error family, such as `invalid_request` or `permission`."},"code":{"type":"string","description":"Specific error code; see the errors page."},"message":{"type":"string","description":"A human-readable explanation."},"param":{"type":"string","description":"The input the error is about, such as `query.limit`."},"requiredScope":{"type":"string","description":"The scope the token is missing."},"requestId":{"type":"string","description":"Quote this id to support."},"docs":{"type":"string","description":"Link to the error's documentation."}},"required":["type","code","message","requestId","docs"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}},"responses":{"BadRequest":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unauthenticated":{"description":"The token is missing, invalid, expired, or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"SubscriptionRequired":{"description":"The workspace's subscription needs attention.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The token is missing a required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"No such object in this workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Rate limited; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InternalError":{"description":"Internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unavailable":{"description":"Temporarily unavailable; retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/v1/teams/progress":{"get":{"operationId":"teams.progress.get","tags":["Teams"],"summary":"Read today's existing crew progress","description":"Complete current-day facts for readable crews in the workspace's timezone, using the native Dashboard calculation. Missing stamps or planned times are explicit; no ahead estimate, booked-minute fallback or projected finish. Refuses over 1000 visits or 200 crews rather than returning partial totals.\n\nReturns [the crew progress object](https://docs.shortcutco.com/developers/reference/objects/crew-progress).\n\n**Errors specific to this endpoint:** [`crew_progress_limit`](https://docs.shortcutco.com/developers/concepts/errors#crew_progress_limit). Every endpoint can also return the [common errors](https://docs.shortcutco.com/developers/concepts/errors).","parameters":[],"responses":{"200":{"description":"Success.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CrewProgress"},"meta":{"type":"object","properties":{"omitted":{"type":"array","items":{"type":"object","properties":{"section":{"type":"string","description":"The section left out of `data`."},"requiredScope":{"type":"string","description":"The scope that would include it."}},"required":["section","requiredScope"],"additionalProperties":false},"description":"Sections omitted because the token lacks their scope."}},"additionalProperties":true,"description":"Facts about this request beside the object, such as `alreadyReminded` on a repeated reminder. Present only when there is something to report."}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthenticated"},"402":{"$ref":"#/components/responses/SubscriptionRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}}}}
```
