AWorld APIs are in a pre-alpha stage and are being updated frequently. For integration inquiries or technical information, please contact us at server@aworld.org.
Authorization: Bearer YOUR_ACCESS_TOKENaccountId, workspaceId, principalId, userId, and othersaccountId, workspaceId, principalId, userId, and othersprincipalId and othersx-user-id header to impersonate a userx-idempotency-key header in the response.Accept-Encoding: gzipNote: The AWorld API is in pre-alpha stage and undergoes frequent updates. Schema introspection is a great way to discover the latest available operations.
nextToken for requesting the next page.{
"input": {
"limit": 10,
"nextToken": "eyJsYXN0SXRlbUlkIjoiMTIzNDUiLCJsYXN0SXRlbVZhbHVlIjoidGVzdCJ9"
}
}limit to control the number of items returned per pagenextToken from the previous responsenextToken is only valid when used with the same limit that was used in the original request. You should not mix tokens returned from calls with different limit valueslang custom claim in the access tokenImportant: If a user changes their language preference in their profile, the access token needs to be refreshed to retrieve content in the newly selected language. Simply changing the profile setting without getting a new token will not affect API responses.