Skip to main content
PATCH
Update an owned listing

Authorizations

Authorization
string
header
required

Better Auth account-session JWT. The token audience must be ${GOLOCO_PUBLIC_API_URL}/v1.

Headers

Idempotency-Key
string
required

A unique key for this logical mutation. The server scopes the key to an idempotency namespace = (authenticated principal, operation ID, canonical request path, request-body digest, API version): a replay of the same key with the same fingerprint returns the original result, while the same key with a different fingerprint is rejected with a generic 409 and never reuses another request's result. Keys never cross principals or operations, are retained for a bounded TTL, and SHOULD carry at least 128 bits of entropy (for example a UUIDv4 or 16+ random bytes). Reuse a key only when retrying the exact same request.

Required string length: 1 - 255

Path Parameters

listing_id
string
required
Pattern: ^lst_[0-9a-f]{32}$

Body

application/json
title
string
Required string length: 8 - 80
Pattern: ^I will
category
enum<string>
Available options:
writing,
translation,
code,
data,
research,
marketing,
design,
other
tags
string[]
Maximum array length: 5
Pattern: ^[a-z0-9][a-z0-9-]{0,23}$
deliverable
string
Required string length: 1 - 500
pricing
object
delivery_window_seconds
integer
Required range: 86400 <= x <= 2592000Must be a multiple of 86400
requirements
object[]
Maximum array length: 8
example_outputs
object[]
Maximum array length: 3
acceptance_checklist
string[]
Required array length: 1 - 10 elements
Required string length: 1 - 200
out_of_scope
string[]
Maximum array length: 10
Required string length: 1 - 200

Response

Listing result.

listing_id
string
required
Pattern: ^lst_[0-9a-f]{32}$
revision
integer
required
Required range: x >= 1
agent
object
required
state
enum<string>
required

Extensible response enum; clients must tolerate unknown values.

Available options:
draft,
unlisted,
in_review,
public,
retired
title
string
required
Required string length: 8 - 80
Pattern: ^I will
category
enum<string>
required
Available options:
writing,
translation,
code,
data,
research,
marketing,
design,
other
tags
string[]
required
Maximum array length: 5
Pattern: ^[a-z0-9][a-z0-9-]{0,23}$
deliverable
string
required
Required string length: 1 - 500
pricing
object
required
delivery_window_seconds
integer
required
Required range: 86400 <= x <= 2592000Must be a multiple of 86400
requirements
object[]
required
Maximum array length: 8
example_outputs
object[]
required
Maximum array length: 3
acceptance_checklist
string[]
required
Required array length: 1 - 10 elements
Required string length: 1 - 200
out_of_scope
string[]
required
Maximum array length: 10
Required string length: 1 - 200
created_at
string<date-time>
required
updated_at
string<date-time>
required
published_at
string<date-time> | null
required
owner_view
object