# AEO API Python > Install aeo-sdk for Python, make requests with the sync or async client, and look up method signatures, pagination, errors and polling. The full text is at https://aeoapi.dev/docs/sdks/python/llms-full.txt. The site index is at https://aeoapi.dev/llms.txt. ## Pages - [AEO API Python SDK](https://aeoapi.dev/docs/sdks/python): Install aeo-sdk for Python, make requests with the sync or async client, and look up method signatures, pagination, errors and polling. ([markdown](https://aeoapi.dev/docs/sdks/python.md)) - [AeoClient.close](https://aeoapi.dev/docs/sdks/python/aeoclient-close): Close a synchronous client that your application opened outside a context manager. Call this after the last request. ([markdown](https://aeoapi.dev/docs/sdks/python/aeoclient-close.md)) - [AsyncAeoClient.aclose](https://aeoapi.dev/docs/sdks/python/asyncaeoclient-aclose): Close an asynchronous client that your application opened outside a context manager. Call this after the last request. ([markdown](https://aeoapi.dev/docs/sdks/python/asyncaeoclient-aclose.md)) - [RetryPolicy.backoff](https://aeoapi.dev/docs/sdks/python/retrypolicy-backoff): Calculate the randomized delay the retry policy would use for a particular attempt. The method returns a delay without sleeping. ([markdown](https://aeoapi.dev/docs/sdks/python/retrypolicy-backoff.md)) - [iter_pages](https://aeoapi.dev/docs/sdks/python/iter-pages): Read one page at a time when you need its headers, warnings or cursor. The helper requests the next page as you iterate. ([markdown](https://aeoapi.dev/docs/sdks/python/iter-pages.md)) - [iter_items](https://aeoapi.dev/docs/sdks/python/iter-items): Process records across cursor-based pages. For a brand list, each item is a brand dictionary. ([markdown](https://aeoapi.dev/docs/sdks/python/iter-items.md)) - [wait_for_run](https://aeoapi.dev/docs/sdks/python/wait-for-run): Poll an accepted run until it finishes or needs approval. For Brave submissions, the helper returns at submitted or failed. ([markdown](https://aeoapi.dev/docs/sdks/python/wait-for-run.md)) - [aiter_pages](https://aeoapi.dev/docs/sdks/python/aiter-pages): Read one page at a time when you need its headers, warnings or cursor. The helper requests the next page as you iterate. ([markdown](https://aeoapi.dev/docs/sdks/python/aiter-pages.md)) - [aiter_items](https://aeoapi.dev/docs/sdks/python/aiter-items): Process records across cursor-based pages. For a brand list, each item is a brand dictionary. ([markdown](https://aeoapi.dev/docs/sdks/python/aiter-items.md)) - [await_run](https://aeoapi.dev/docs/sdks/python/await-run): Poll an accepted run until it finishes or needs approval. For Brave submissions, the helper returns at submitted or failed. ([markdown](https://aeoapi.dev/docs/sdks/python/await-run.md)) - [v2_get_account](https://aeoapi.dev/docs/sdks/python/v2-get-account): Read the account plan before choosing a collection workflow. The view argument also selects usage, limits, source availability, or tracking fields. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-account.md)) - [v2_patch_account](https://aeoapi.dev/docs/sdks/python/v2-patch-account): Create a custom tracking field for a brand, edit its definition, or set its value. Set section to the record type you want to change. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-patch-account.md)) - [v2_get_brands](https://aeoapi.dev/docs/sdks/python/v2-get-brands): Find a brand ID before requesting its reports. Use the categories view to find approved category IDs for brand setup. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-brands.md)) - [v2_post_brands](https://aeoapi.dev/docs/sdks/python/v2-post-brands): Register a brand with the markets, domains and categories you want to track. You can also include starter prompts. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-post-brands.md)) - [v2_get_brands_brand_id](https://aeoapi.dev/docs/sdks/python/v2-get-brands-brand-id): Read one brand's profile. Set view to read locations, voice, connection settings, schedules or content events for the same brand. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-brands-brand-id.md)) - [v2_patch_brands_brand_id](https://aeoapi.dev/docs/sdks/python/v2-patch-brands-brand-id): Change a brand or its settings. For a brand edit, set section to brand and pass the current revision as if_match. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-patch-brands-brand-id.md)) - [v2_get_prompts](https://aeoapi.dev/docs/sdks/python/v2-get-prompts): Read the prompt library, or select a view for a prompt's history, coverage, suggestions, or topic assignments. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-prompts.md)) - [v2_patch_prompts](https://aeoapi.dev/docs/sdks/python/v2-patch-prompts): Update a prompt, change a set, or edit a topic. Archive a prompt to stop tracking it while keeping its history. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-patch-prompts.md)) - [v2_post_prompts](https://aeoapi.dev/docs/sdks/python/v2-post-prompts): Create a prompt for a question you plan to track. Other actions can build suggestions, import prompts or preview them. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-post-prompts.md)) - [v2_post_runs](https://aeoapi.dev/docs/sdks/python/v2-post-runs): Estimate or start a workflow. The collection estimate example asks for a credit estimate before you submit a paid run. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-post-runs.md)) - [v2_get_runs](https://aeoapi.dev/docs/sdks/python/v2-get-runs): List managed runs for a brand. Use the saved_checks view for recent prompt checks and their results. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-runs.md)) - [v2_delete_runs_run_id](https://aeoapi.dev/docs/sdks/python/v2-delete-runs-run-id): Request cancellation for a job, managed run or audit. Pass the qualified run ID and an optional reason. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-delete-runs-run-id.md)) - [v2_get_runs_run_id](https://aeoapi.dev/docs/sdks/python/v2-get-runs-run-id): Read the state of one run or fetch a saved estimate. Pass the qualified ID returned by the API, including its prefix. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-runs-run-id.md)) - [v2_get_analytics_dataset](https://aeoapi.dev/docs/sdks/python/v2-get-analytics-dataset): Choose a dataset and pass its filters. To measure visibility, give the brand ID and a UTC time window with an exclusive end. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-analytics-dataset.md)) - [v2_post_passages_search](https://aeoapi.dev/docs/sdks/python/v2-post-passages-search): Find passages in a brand's content before selecting sources for a draft. Provide the brand ID and the query text. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-post-passages-search.md)) - [v2_get_recommendations](https://aeoapi.dev/docs/sdks/python/v2-get-recommendations): Read recommendations for one brand. The diagnosis view lists findings and their suggested actions. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-recommendations.md)) - [v2_patch_recommendations](https://aeoapi.dev/docs/sdks/python/v2-patch-recommendations): Apply board edits or send a decision about a recommendation. Board edits specify the item, status and expected revision. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-patch-recommendations.md)) - [v2_get_brands_brand_id_drafts](https://aeoapi.dev/docs/sdks/python/v2-get-brands-brand-id-drafts): Find drafts for a brand. Filter by item or status, then use a draft ID to read the content. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-brands-brand-id-drafts.md)) - [v2_get_brands_brand_id_drafts_draft_id](https://aeoapi.dev/docs/sdks/python/v2-get-brands-brand-id-drafts-draft-id): Read a draft before submitting an edit or a review decision. Use include_citation_benchmark when the reviewer needs that comparison. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-brands-brand-id-drafts-draft-id.md)) - [v2_patch_brands_brand_id_drafts_draft_id](https://aeoapi.dev/docs/sdks/python/v2-patch-brands-brand-id-drafts-draft-id): Edit a draft or advance its review. To submit a draft, send the current revision with the submit transition. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-patch-brands-brand-id-drafts-draft-id.md)) - [v2_put_brands_brand_id_drafts_draft_id](https://aeoapi.dev/docs/sdks/python/v2-put-brands-brand-id-drafts-draft-id): Create a draft at a draft ID you supply. The blog example supplies a board item, keyword measurements and a source passage for the section. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-put-brands-brand-id-drafts-draft-id.md)) - [v2_post_attribution_events](https://aeoapi.dev/docs/sdks/python/v2-post-attribution-events): Record attribution events for which you have consent. Include the consent reference and an external event ID for each event. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-post-attribution-events.md)) - [v2_get_reports](https://aeoapi.dev/docs/sdks/python/v2-get-reports): Read a brand's monthly report. Omit month for the latest month with saved observations, or specify a month to inspect an earlier period. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-reports.md)) - [v2_patch_reports](https://aeoapi.dev/docs/sdks/python/v2-patch-reports): Create a share link for a brand's report month. A separate action revokes an existing share link. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-patch-reports.md)) - [v2_delete_brands_brand_id_evidence_kind_key](https://aeoapi.dev/docs/sdks/python/v2-delete-brands-brand-id-evidence-kind-key): Remove saved evidence. To revoke a keyword dataset, supply its UUID and source revision. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-delete-brands-brand-id-evidence-kind-key.md)) - [v2_get_brands_brand_id_evidence_kind_key](https://aeoapi.dev/docs/sdks/python/v2-get-brands-brand-id-evidence-kind-key): Look up keyword measurements in a saved dataset. Use its UUID as the key and supply the market and requested terms. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-get-brands-brand-id-evidence-kind-key.md)) - [v2_put_brands_brand_id_evidence_kind_key](https://aeoapi.dev/docs/sdks/python/v2-put-brands-brand-id-evidence-kind-key): Save evidence that belongs to a brand. For keyword measurements, provide the dataset revision, rights and measured rows. ([markdown](https://aeoapi.dev/docs/sdks/python/v2-put-brands-brand-id-evidence-kind-key.md))