# Search PaaS Timeflows

Endpoint: POST /paas-timeflows/search
Version: 3.28.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Query parameters:

  - `limit` (integer)
    Maximum number of objects to return per query. The value must be between 1 and 1000. Default is 100.

  - `cursor` (string)
    Cursor to fetch the next or previous page of results. The value of this property must be extracted from the 'prev_cursor' or 'next_cursor' property of a PaginatedResponseMetadata which is contained in the response of list and search API endpoints.

  - `sort` (string)
    The field to sort timeflow results by. A field prefixed with `-` indicates descending order.

## Request fields (application/json):

  - `filter_expression` (string)
    Example: string_field CONTAINS "over" AND numberic_field GT 9000 OR string_field2 EQ "Goku"

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `items` (array)

  - `items.id` (string)
    The PaaS Timeflow object entity ID.
    Example: paas-timeflow-abc123

  - `items.instance_id` (string)
    The ID of the PaaS Instance this timeflow belongs to. Null for database timeflows.
    Example: instance-123

  - `items.database_id` (string)
    The ID of the PaaS Database this timeflow belongs to. Null for instance timeflows.
    Example: db-123

  - `items.is_active` (boolean)
    Whether this timeflow is currently active. Only one timeflow per instance or database can be active at a time.
    Example: true

  - `items.creation_timestamp` (string)
    The timestamp when this timeflow was created (when the instance or database was provisioned).
    Example: 2025-01-01T00:00:00.000000+00:00

  - `items.deactivation_timestamp` (string)
    The timestamp when this timeflow was deactivated (when the instance or database was deprovisioned). Null for active timeflows.
    Example: 2025-06-01T00:00:00.000000+00:00

  - `items.masked_by_execution_id` (string)
    The ID of the compliance job collection execution that masked this timeflow, if any.

  - `items.masked_by_collection_id` (string)
    The ID of the compliance job collection that masked this timeflow, if any.

  - `items.tags` (array)

  - `items.tags.key` (string, required)
    Key of the tag
    Example: key-1

  - `items.tags.value` (string, required)
    Value of the tag
    Example: value-1

  - `response_metadata` (object)

  - `response_metadata.prev_cursor` (string)
    Pointer to the previous page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.next_cursor` (string)
    Pointer to the next page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.total` (integer)
    The total number of results. This value may not be provided.

