Skip to content
Console
Menu

Alerts and status pages

App store purchases

Credits

Knowledge

KV

Notifications

Organizations

Storage

Workflows

API reference

Getting Started

Authentication

KV Store

List chat reports

Lists the moderation queue.

Lists the moderation queue.

  • Path GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_reports
  • Scope events:read
  • Effect read — nothing is written.
  • Collection chat_reports
  • Query page_size, page_token
  • Pagination the answer carries chat_reports and, when there is more, next_page_token

#Request

FieldTypeWhat it is
parentstringEnvironment resource name. Required.
page_sizeint32Maximum results; default 50, maximum 1000.
page_tokenstringPrevious response's next_page_token.

#Response

FieldTypeWhat it is
chat_reportsChatReport[]Queue records.
next_page_tokenstringEmpty at the end.

#ChatReport

FieldTypeWhat it is
namestringResource name.
uidstringStable identifier. Output only.
metaResourceMetaResource metadata.
reporter_idstringReporting member. Output only.
target_typestringmessage, image or user. Output only.
target_idstringFull message name, image SHA-256 or user id respectively. Output only.
reasonstringReport reason. Output only.
statusstringpending, resolved or dismissed. Output only.
due_timetimestampLatest response time for the moderation queue. Output only.

#ResourceMeta

FieldTypeWhat it is
generationint64Increases by one on every change to spec. Output only.
etagstringStrong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as If-Match or etag to make Update and Delete conditional; a mismatch fails with ABORTED / 409 ETAG_MISMATCH. Output only.
create_timetimestampWhen the Resource was created. Output only.
update_timetimestampWhen the Resource last changed. Output only.
delete_timetimestampSet while the Resource is being deleted. Output only.
labelsmap<string, string>Caller-writable, indexed labels (AIP-122 label rules).
annotationsmap<string, string>Caller-writable, unindexed annotations.
display_namestringCaller-writable human-readable name.
creatorstringThe principal that created the Resource. Output only.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_reports" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"