Get workspace by GID
GET
/api/v1/workspaces/{gid}
Get a workspace by its GID.
Args: gid: Asana workspace GID.
Returns: Workspace data with gid, name, is_organization, and email_domains.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” gid
required
Gid
string
Responses
Section titled “ Responses ”Successful Response
SuccessResponse[AsanaResource]
object
data
required
meta
required
ResponseMeta
Response metadata
object
request_id
required
Request Id
Request correlation ID
string
timestamp
Timestamp
Response timestamp (UTC)
string format: date-time
pagination
Any of:
PaginationMeta
Pagination metadata for list responses.
Per ADR-ASANA-008: Cursor-based pagination with opaque offset.
Attributes: limit: Number of items requested per page. has_more: Whether more items exist after this page. next_offset: Opaque cursor for next page (None if no more pages).
null
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string