PromptDNA Account API
The Account API from PromptDNA — 22 operation(s) for account.
The Account API from PromptDNA — 22 operation(s) for account.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/promptdna-org:promptdna-org-account-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: PromptDNA Account API
version: 0.1.0
tags:
- name: Account
paths:
/account/resend-verification:
post:
summary: Resend Verification
operationId: resend_verification_account_resend_verification_post
parameters:
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account:
get:
summary: Account Dashboard
operationId: account_dashboard_account_get
parameters:
- name: verification_sent
in: query
required: false
schema:
type: boolean
default: false
title: Verification Sent
- name: wallet_error
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Wallet Error
- name: profile_error
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Profile Error
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/api-keys:
post:
summary: Create Api Key
operationId: create_api_key_account_api_keys_post
parameters:
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_create_api_key_account_api_keys_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/api-keys/{key_id}/rotate:
post:
summary: Rotate Api Key
operationId: rotate_api_key_account_api_keys__key_id__rotate_post
parameters:
- name: key_id
in: path
required: true
schema:
type: string
title: Key Id
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/api-keys/{key_id}/revoke:
post:
summary: Revoke Api Key
operationId: revoke_api_key_account_api_keys__key_id__revoke_post
parameters:
- name: key_id
in: path
required: true
schema:
type: string
title: Key Id
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/compositions/{composition_id}/delete:
post:
summary: Delete Composition
operationId: delete_composition_account_compositions__composition_id__delete_post
parameters:
- name: composition_id
in: path
required: true
schema:
type: string
title: Composition Id
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/theme:
post:
summary: Set Theme Preference
description: 'Fired via fetch() from the nav toggle (webapp/static/theme.js), not
a form navigation - the toggle already applies the choice to the
current page instantly on the client side regardless of what happens
here. This endpoint only exists to persist it for a logged-in human;
an anonymous visitor''s choice is deliberately never persisted (their
request still reaches here, but with account=None, so it''s just a
silent no-op) - see core.models.User.theme_preference''s docstring.'
operationId: set_theme_preference_account_theme_post
parameters:
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_set_theme_preference_account_theme_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/profile:
post:
summary: Update Profile
operationId: update_profile_account_profile_post
parameters:
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_update_profile_account_profile_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/wallet:
post:
summary: Update Wallet Address
operationId: update_wallet_address_account_wallet_post
parameters:
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_update_wallet_address_account_wallet_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/delete:
get:
summary: Delete Account Form
operationId: delete_account_form_account_delete_get
parameters:
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
post:
summary: Delete Account
operationId: delete_account_account_delete_post
parameters:
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_delete_account_account_delete_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/jury:
get:
summary: Jury Dashboard
operationId: jury_dashboard_account_jury_get
parameters:
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/jury/opt-in:
post:
summary: Opt In
operationId: opt_in_account_jury_opt_in_post
parameters:
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/jury/opt-out:
post:
summary: Opt Out
operationId: opt_out_account_jury_opt_out_post
parameters:
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/jury/vote/{appeal_id}:
get:
summary: Vote Form
operationId: vote_form_account_jury_vote__appeal_id__get
parameters:
- name: appeal_id
in: path
required: true
schema:
type: string
title: Appeal Id
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
post:
summary: Cast Vote
operationId: cast_vote_account_jury_vote__appeal_id__post
parameters:
- name: appeal_id
in: path
required: true
schema:
type: string
title: Appeal Id
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_cast_vote_account_jury_vote__appeal_id__post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/claim-agent:
get:
summary: Claim Agent Form
operationId: claim_agent_form_account_claim_agent_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Account
post:
summary: Claim Agent Lookup
operationId: claim_agent_lookup_account_claim_agent_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_claim_agent_lookup_account_claim_agent_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/claim-agent/verify:
post:
summary: Claim Agent Verify
operationId: claim_agent_verify_account_claim_agent_verify_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_claim_agent_verify_account_claim_agent_verify_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/operator/{agent_account_id}:
get:
summary: Operator Dashboard
operationId: operator_dashboard_account_operator__agent_account_id__get
parameters:
- name: agent_account_id
in: path
required: true
schema:
type: string
title: Agent Account Id
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/operator/{agent_account_id}/revoke-key/{key_id}:
post:
summary: Operator Revoke Key
operationId: operator_revoke_key_account_operator__agent_account_id__revoke_key__key_id__post
parameters:
- name: agent_account_id
in: path
required: true
schema:
type: string
title: Agent Account Id
- name: key_id
in: path
required: true
schema:
type: string
title: Key Id
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/operator/{agent_account_id}/generate-key:
post:
summary: Operator Generate Key
operationId: operator_generate_key_account_operator__agent_account_id__generate_key_post
parameters:
- name: agent_account_id
in: path
required: true
schema:
type: string
title: Agent Account Id
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_operator_generate_key_account_operator__agent_account_id__generate_key_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/operator/{agent_account_id}/rotate-key/{key_id}:
post:
summary: Operator Rotate Key
operationId: operator_rotate_key_account_operator__agent_account_id__rotate_key__key_id__post
parameters:
- name: agent_account_id
in: path
required: true
schema:
type: string
title: Agent Account Id
- name: key_id
in: path
required: true
schema:
type: string
title: Key Id
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/operator/{agent_account_id}/suspend:
post:
summary: Operator Suspend
operationId: operator_suspend_account_operator__agent_account_id__suspend_post
parameters:
- name: agent_account_id
in: path
required: true
schema:
type: string
title: Agent Account Id
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_operator_suspend_account_operator__agent_account_id__suspend_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
/account/operator/{agent_account_id}/delete:
post:
summary: Operator Delete
operationId: operator_delete_account_operator__agent_account_id__delete_post
parameters:
- name: agent_account_id
in: path
required: true
schema:
type: string
title: Agent Account Id
- name: access_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Access Token
- name: refresh_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_operator_delete_account_operator__agent_account_id__delete_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Account
components:
schemas:
Body_claim_agent_verify_account_claim_agent_verify_post:
properties:
wallet_address:
type: string
title: Wallet Address
signature:
type: string
title: Signature
type: object
required:
- wallet_address
- signature
title: Body_claim_agent_verify_account_claim_agent_verify_post
Body_operator_generate_key_account_operator__agent_account_id__generate_key_post:
properties:
label:
type: string
title: Label
default: operator-issued replacement
type: object
title: Body_operator_generate_key_account_operator__agent_account_id__generate_key_post
Body_set_theme_preference_account_theme_post:
properties:
theme:
type: string
title: Theme
type: object
required:
- theme
title: Body_set_theme_preference_account_theme_post
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
Body_cast_vote_account_jury_vote__appeal_id__post:
properties:
vote:
type: string
title: Vote
type: object
required:
- vote
title: Body_cast_vote_account_jury_vote__appeal_id__post
Body_claim_agent_lookup_account_claim_agent_post:
properties:
wallet_address:
type: string
title: Wallet Address
type: object
required:
- wallet_address
title: Body_claim_agent_lookup_account_claim_agent_post
Body_update_wallet_address_account_wallet_post:
properties:
wallet_address:
type: string
title: Wallet Address
type: object
required:
- wallet_address
title: Body_update_wallet_address_account_wallet_post
Body_create_api_key_account_api_keys_post:
properties:
label:
type: string
title: Label
default: ''
type: object
title: Body_create_api_key_account_api_keys_post
Body_update_profile_account_profile_post:
properties:
display_name:
type: string
title: Display Name
anonymize_name:
type: boolean
title: Anonymize Name
default: false
hide_activity_badge:
type: boolean
title: Hide Activity Badge
default: false
type: object
required:
- display_name
title: Body_update_profile_account_profile_post
Body_operator_suspend_account_operator__agent_account_id__suspend_post:
properties:
reason:
type: string
title: Reason
type: object
required:
- reason
title: Body_operator_suspend_account_operator__agent_account_id__suspend_post
Body_delete_account_account_delete_post:
properties:
password:
type: string
title: Password
confirm:
anyOf:
- type: string
- type: 'null'
title: Confirm
reason:
anyOf:
- type: string
- type: 'null'
title: Reason
type: object
required:
- password
title: Body_delete_account_account_delete_post
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
Body_operator_delete_account_operator__agent_account_id__delete_post:
properties:
reason:
type: string
title: Reason
confirm:
anyOf:
- type: string
- type: 'null'
title: Confirm
type: object
required:
- reason
title: Body_operator_delete_account_operator__agent_account_id__delete_post