Get Org Apikey Oauth
GET/api/v1/org/:org_id/member/apikey/:provider
Get aumo api key from keycloak access token.
Path Args
org_id (str): ID of the organization. provider (str): Provider of the access_token
Query Args
access_token (str): Access token from the oauth provider
Returns
OrgAPIKeyValue: API Key and JWT payload { "key": "key", "data": { "sub": "user_id", "iss": "issuer of the key, "aud": "audience of the key", "iat": "time of creation of the key", "exp": "expiration time of the key", "name": "name of the user", "roles": ["role1", "role2"], "external_apikeys": [{"key": "sk-test-secret-key", "expiry": "2034-05-07T13:18:31.666846Z", "service": "aumogpt"}] } }
Request
Responses
- 200
- 422
Successful Response
Validation Error