users

Get Latest User Run

Gets the most recent run for a User, ordered by last updated.

get/users/{user_id}/runs/latest

Path parameters

user_idstring uuid4 required

Query parameters

project_type'protect' | 'gen_ai'
starting_tokeninteger
limitinteger

Response

Successful Response

starting_tokeninteger
limitinteger
paginatedboolean
next_starting_tokeninteger nullable

Changes

Changed in 5 of the 15 revisions of this API.275

    • added the new capability_based enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new change_role_to_capability_based enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new create_global enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new create_shared enum value to the ////// response property for the response status

      response-property-enum-value-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new read_unredacted_data enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new read_ai_usage_organization enum value to the ////// response property for the response status

      response-property-enum-value-added

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the enum value llm_monitor from the query request parameter project_type

      request-parameter-enum-value-removed

    • removed the enum value prompt_evaluation from the query request parameter project_type

      request-parameter-enum-value-removed

    • removed the 12.00 enum value from the /// response property for the response status

      response-property-enum-value-removed

    • removed the 7.00 enum value from the /// response property for the response status

      response-property-enum-value-removed

    • removed the 9.00 enum value from the /// response property for the response status

      response-property-enum-value-removed

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 05003e7835a212See the full diff
    • added the new read_ai_usage enum value to the ////// response property for the response status

      response-property-enum-value-added

    • the endpoint scheme security ClassicAPIKeyHeader was added to the API

      api-security-added

    • added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog