session_tokensstringwymagane
JSON array of opaque session token strings from batch_get_stores or a previous continue_batch_store_session response (up to 20).
https://api.sandbase.ai/v1/api/temu/continue-batch-store-sessionContinue paginated store sessions started by batch_get_stores. Accepts an array of opaque session tokens (from previous next_session_token fields), fetches the next page for each store, and returns updated tokens. Handles list_id expiration with automatic recovery.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Continue paginated store sessions started by batch_get_stores. Accepts an array of opaque session tokens (from previous next_session_token fields), fetches the next page for each store, and returns updated tokens. Handles list_id expiration with automatic recovery.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "temu/continue-batch-store-session", "limit": 40, "include_dto": true, "include_raw": true, "session_tokens": "[\"eyJ2IjoxLCJ0Ijoic3RvcmUiLCJtaWQiOiIyNjEwMTI3IiwibCI6ImVuIiwibGlkIjoiYWJjMTIzIiwibyI6MTAsImxpbSI6MTB9.placeholder_sig\"]"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
session_tokens | string | Yes | JSON array of opaque session token strings from batch_get_stores or a previous continue_batch_store_session response (up to 20). |
include_dto | boolean | No | If true, include the flat normalized DTO per store. |
include_raw | boolean | No | If true, include the raw API response data per store. |
limit | integer | No | Override the page size stored in the token (max 999). |
Flat $0.03 per call. Failed calls are not charged.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/temu/continue-batch-store-session" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 40,
"include_dto": true,
"include_raw": true,
"session_tokens": "[\"eyJ2IjoxLCJ0Ijoic3RvcmUiLCJtaWQiOiIyNjEwMTI3IiwibCI6ImVuIiwibGlkIjoiYWJjMTIzIiwibyI6MTAsImxpbSI6MTB9.placeholder_sig\"]"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
session_tokensstringwymaganeJSON array of opaque session token strings from batch_get_stores or a previous continue_batch_store_session response (up to 20).
limitintegerOverride the page size stored in the token (max 999).
include_dtobooleanIf true, include the flat normalized DTO per store.
Domyślnie: true
include_rawbooleanIf true, include the raw API response data per store.
Domyślnie: true
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Temu | $0.03 za wywołanie | JSON |
Temu | $0.03 za wywołanie | JSON |
Temu | $0.03 za wywołanie | JSON |
Temu | $0.03 za wywołanie | JSON |
Temu | $0.03 za wywołanie | JSON |
Temu | $0.03 za wywołanie | JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/temu/continue-batch-store-session z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: session_tokens (string). Opcjonalne: limit (integer), include_dto (boolean) i include_raw (boolean). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. Temu Continue Batch Store Session działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Temu.