image-agent
Image Agent

Get Latest Session

Get the most recent session for the current user.

Returns the complete session including all messages, images, and workspace state. Useful for resuming the last conversation.

get/api/v1/image-agent/sessions/latest

Request

  • Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trylapis.com/api/v1/image-agent/sessions/latest
  • Auth: HTTP bearer

Response

Successful Response

idinteger required
user_idinteger required
status'active' | 'completed' | 'archived' | 'disabled' required

Session status values.

contextobject nullable
saphire_website_idinteger nullable
ad_idinteger nullable

Source AdCampaignAd ID if context was loaded from database

manual_reference_generation_idinteger nullable

Source ManualReferenceGeneration ID if image was loaded from there

created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.