List clarification drafts
curl --request GET \
--url http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": [
{
"id": 17,
"status": "pending",
"draft_text": "Could you clarify which social platform should be used?",
"athlete_snippet": "Could you clarify which social platform should be used?",
"sent_chat_id": null,
"sent_text": null,
"sent_at": null,
"responded_chat_id": null,
"responded_message_text": null,
"responded_at": null,
"superseded_by_id": null,
"created_at": "2026-07-21T06:30:36Z"
}
]
}{
"message": "Unauthenticated."
}{
"message": "The given data was invalid.",
"errors": {}
}List clarification drafts
Returns AI-generated clarification drafts owned by the authenticated athlete for the specified job. Defaults to pending drafts; pass status=all or a lifecycle status to change the filter. Drafts are not sent to the brand until explicitly approved.
GET
/
athlete
/
ai-athlete-assistant
/
clarification-drafts
List clarification drafts
curl --request GET \
--url http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost/mogl/mogl-backend/api/athlete/ai-athlete-assistant/clarification-drafts")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": [
{
"id": 17,
"status": "pending",
"draft_text": "Could you clarify which social platform should be used?",
"athlete_snippet": "Could you clarify which social platform should be used?",
"sent_chat_id": null,
"sent_text": null,
"sent_at": null,
"responded_chat_id": null,
"responded_message_text": null,
"responded_at": null,
"superseded_by_id": null,
"created_at": "2026-07-21T06:30:36Z"
}
]
}{
"message": "Unauthenticated."
}{
"message": "The given data was invalid.",
"errors": {}
}Authorizations
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Query Parameters
Job ID whose pending clarification drafts should be returned.
Required range:
x >= 1Example:
42
Optional lifecycle-status filter.
Available options:
all, pending, sent, responded, superseded, dismissed Example:
"pending"