Skip to main content

Create a like

Adds a like to a prompt. If the prompt was created using a pack (i.e: orig_prompt_id is set) - a like will be added to the original prompt as well.

Parameters

Returns

Returns status code 201 if successful and no content.

POST /prompts/:prompt_id/likes

curl -X POST -H "Authorization: Bearer $API_KEY" https://api.astria.ai/prompts/:prompt_id/like 

Response

Status code: 201 Created