Skip to content
Get started

Retrieve

platform.retrieve() -> PlatformRetrieveResponse
GET/platform

Gets platform details for the workspace

ReturnsExpand Collapse
class PlatformRetrieveResponse:
data: Data

Platform object

created: datetime

ISO 8601 timestamp when the platform was created

formatdate-time
display_name: str

Display name for the platform

workspace_id: str

Workspace ID this platform belongs to

modified: Optional[datetime]

ISO 8601 timestamp when the platform was last modified

formatdate-time

Retrieve

from fragment import Fragment

client = Fragment()
platform = client.platform.retrieve()
print(platform.data)
{
  "data": {
    "created": "2024-01-13T00:00:00Z",
    "displayName": "Acme Corp",
    "workspaceId": "ws_1234567890",
    "modified": "2024-01-14T00:00:00Z"
  }
}
Returns Examples
{
  "data": {
    "created": "2024-01-13T00:00:00Z",
    "displayName": "Acme Corp",
    "workspaceId": "ws_1234567890",
    "modified": "2024-01-14T00:00:00Z"
  }
}