Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.32.0"
".": "0.33.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 21
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound%2Fprofound-85c2cc542ebd87adbf37b0e66894b4854b2e828f88bcafed4ea77f68a97355ce.yml
openapi_spec_hash: fb8408a3cfee3614593fdedee497c1d7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound%2Fprofound-c866d7678bff7f7752dee3014b21683fc7fd6bc822e3ad37b63865b2032b00e5.yml
openapi_spec_hash: 8867f5c1e1f6c05810ecf07d9b61e066
config_hash: f683a29859356d6968a19ae3e6063b63
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.33.0 (2026-03-19)

Full Changelog: [v0.32.0...v0.33.0](https://github.com/cooper-square-technologies/profound-python-sdk/compare/v0.32.0...v0.33.0)

### Features

* **api:** api update ([b050c07](https://github.com/cooper-square-technologies/profound-python-sdk/commit/b050c070b9ce850723cef0f2175141c6ed09ec36))

## 0.32.0 (2026-03-17)

Full Changelog: [v0.31.1...v0.32.0](https://github.com/cooper-square-technologies/profound-python-sdk/compare/v0.31.1...v0.32.0)
Expand Down
12 changes: 1 addition & 11 deletions api.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
# Shared Types

```python
from profound.types import (
AssetNameFilter,
ModelIDFilter,
Pagination,
PathFilter,
PersonaIDFilter,
PromptFilter,
RegionIDFilter,
TagIDFilter,
TopicIDFilter,
)
from profound.types import AssetNameFilter, Pagination, PathFilter, PromptFilter
```

# Organizations
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "profound"
version = "0.32.0"
version = "0.33.0"
description = "The official Python library for the profound API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/profound/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "profound"
__version__ = "0.32.0" # x-release-please-version
__version__ = "0.33.0" # x-release-please-version
5 changes: 0 additions & 5 deletions src/profound/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@
from .shared import (
Pagination as Pagination,
PathFilter as PathFilter,
TagIDFilter as TagIDFilter,
PromptFilter as PromptFilter,
ModelIDFilter as ModelIDFilter,
TopicIDFilter as TopicIDFilter,
RegionIDFilter as RegionIDFilter,
AssetNameFilter as AssetNameFilter,
PersonaIDFilter as PersonaIDFilter,
)
from .report_info import ReportInfo as ReportInfo
from .report_result import ReportResult as ReportResult
Expand Down
64 changes: 54 additions & 10 deletions src/profound/types/prompt_answers_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
from .._utils import PropertyInfo
from .shared_params.pagination import Pagination
from .shared_params.prompt_filter import PromptFilter
from .shared_params.tag_id_filter import TagIDFilter
from .shared_params.model_id_filter import ModelIDFilter
from .shared_params.topic_id_filter import TopicIDFilter
from .shared_params.region_id_filter import RegionIDFilter
from .shared_params.asset_name_filter import AssetNameFilter
from .shared_params.persona_id_filter import PersonaIDFilter

__all__ = [
"PromptAnswersParams",
"Filter",
"FilterProfoundAnswerEngineInsightsFiltersRegionIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersModelIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersTagIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersPromptTypeFilter",
"FilterProfoundAnswerEngineInsightsFiltersPersonaIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersTopicIDFilter",
"FilterAssetIDFilter",
"Include",
]
Expand All @@ -42,6 +42,33 @@ class PromptAnswersParams(TypedDict, total=False):
"""Pagination parameters for the results. Default is 10,000 rows with no offset."""


class FilterProfoundAnswerEngineInsightsFiltersRegionIDFilter(TypedDict, total=False):
field: Required[Literal["region_id", "region"]]
"""- `region` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersModelIDFilter(TypedDict, total=False):
field: Required[Literal["model_id", "model"]]
"""- `model` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersTagIDFilter(TypedDict, total=False):
field: Required[Literal["tag_id", "tag"]]
"""- `tag` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersPromptTypeFilter(TypedDict, total=False):
"""Filter by prompt type (visibility or sentiment)"""

Expand All @@ -64,6 +91,23 @@ class FilterProfoundAnswerEngineInsightsFiltersPromptTypeFilter(TypedDict, total
value: Required[Union[Literal["visibility", "sentiment"], List[Literal["visibility", "sentiment"]]]]


class FilterProfoundAnswerEngineInsightsFiltersPersonaIDFilter(TypedDict, total=False):
field: Required[Literal["persona_id"]]

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersTopicIDFilter(TypedDict, total=False):
field: Required[Literal["topic_id", "topic"]]
"""- `topic` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterAssetIDFilter(TypedDict, total=False):
field: Required[Literal["asset_id"]]

Expand All @@ -73,13 +117,13 @@ class FilterAssetIDFilter(TypedDict, total=False):


Filter: TypeAlias = Union[
RegionIDFilter,
ModelIDFilter,
TagIDFilter,
FilterProfoundAnswerEngineInsightsFiltersRegionIDFilter,
FilterProfoundAnswerEngineInsightsFiltersModelIDFilter,
FilterProfoundAnswerEngineInsightsFiltersTagIDFilter,
FilterProfoundAnswerEngineInsightsFiltersPromptTypeFilter,
PromptFilter,
PersonaIDFilter,
TopicIDFilter,
FilterProfoundAnswerEngineInsightsFiltersPersonaIDFilter,
FilterProfoundAnswerEngineInsightsFiltersTopicIDFilter,
FilterAssetIDFilter,
AssetNameFilter,
]
Expand Down
70 changes: 57 additions & 13 deletions src/profound/types/report_citations_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
from .shared_params.pagination import Pagination
from .shared_params.path_filter import PathFilter
from .shared_params.prompt_filter import PromptFilter
from .shared_params.tag_id_filter import TagIDFilter
from .shared_params.model_id_filter import ModelIDFilter
from .shared_params.topic_id_filter import TopicIDFilter
from .shared_params.region_id_filter import RegionIDFilter
from .shared_params.persona_id_filter import PersonaIDFilter

__all__ = [
"ReportCitationsParams",
"Filter",
"FilterHostnameFilter",
"FilterProfoundAnswerEngineInsightsFiltersRegionIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersTopicIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersModelIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersTagIDFilter",
"FilterURLFilter",
"FilterRootDomainFilter",
"FilterProfoundAnswerEngineInsightsFiltersPromptTypeFilter",
"FilterProfoundAnswerEngineInsightsFiltersPersonaIDFilter",
"FilterCitationCategoryFilter",
"FilterPromptIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersPromptIDFilter",
]


Expand Down Expand Up @@ -113,6 +113,42 @@ class FilterHostnameFilter(TypedDict, total=False):
value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersRegionIDFilter(TypedDict, total=False):
field: Required[Literal["region_id", "region"]]
"""- `region` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersTopicIDFilter(TypedDict, total=False):
field: Required[Literal["topic_id", "topic"]]
"""- `topic` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersModelIDFilter(TypedDict, total=False):
field: Required[Literal["model_id", "model"]]
"""- `model` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersTagIDFilter(TypedDict, total=False):
field: Required[Literal["tag_id", "tag"]]
"""- `tag` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterURLFilter(TypedDict, total=False):
"""Filter by URL"""

Expand Down Expand Up @@ -179,6 +215,14 @@ class FilterProfoundAnswerEngineInsightsFiltersPromptTypeFilter(TypedDict, total
value: Required[Union[Literal["visibility", "sentiment"], List[Literal["visibility", "sentiment"]]]]


class FilterProfoundAnswerEngineInsightsFiltersPersonaIDFilter(TypedDict, total=False):
field: Required[Literal["persona_id"]]

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterCitationCategoryFilter(TypedDict, total=False):
"""Filter by citation category"""

Expand All @@ -201,7 +245,7 @@ class FilterCitationCategoryFilter(TypedDict, total=False):
value: Required[Union[str, SequenceNotStr[str]]]


class FilterPromptIDFilter(TypedDict, total=False):
class FilterProfoundAnswerEngineInsightsFiltersPromptIDFilter(TypedDict, total=False):
field: Required[Literal["prompt_id"]]

operator: Required[Literal["is", "not_is", "in", "not_in"]]
Expand All @@ -212,16 +256,16 @@ class FilterPromptIDFilter(TypedDict, total=False):
Filter: TypeAlias = Union[
FilterHostnameFilter,
PathFilter,
RegionIDFilter,
TopicIDFilter,
FilterProfoundAnswerEngineInsightsFiltersRegionIDFilter,
FilterProfoundAnswerEngineInsightsFiltersTopicIDFilter,
TopicNameFilterParam,
ModelIDFilter,
TagIDFilter,
FilterProfoundAnswerEngineInsightsFiltersModelIDFilter,
FilterProfoundAnswerEngineInsightsFiltersTagIDFilter,
FilterURLFilter,
FilterRootDomainFilter,
FilterProfoundAnswerEngineInsightsFiltersPromptTypeFilter,
PersonaIDFilter,
FilterProfoundAnswerEngineInsightsFiltersPersonaIDFilter,
FilterCitationCategoryFilter,
PromptFilter,
FilterPromptIDFilter,
FilterProfoundAnswerEngineInsightsFiltersPromptIDFilter,
]
71 changes: 60 additions & 11 deletions src/profound/types/report_sentiment_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@
from .topic_name_filter_param import TopicNameFilterParam
from .shared_params.pagination import Pagination
from .shared_params.prompt_filter import PromptFilter
from .shared_params.tag_id_filter import TagIDFilter
from .shared_params.model_id_filter import ModelIDFilter
from .shared_params.topic_id_filter import TopicIDFilter
from .shared_params.region_id_filter import RegionIDFilter
from .shared_params.asset_name_filter import AssetNameFilter
from .shared_params.persona_id_filter import PersonaIDFilter

__all__ = ["ReportSentimentParams", "Filter", "FilterAssetIDFilter", "FilterThemeFilter"]
__all__ = [
"ReportSentimentParams",
"Filter",
"FilterAssetIDFilter",
"FilterThemeFilter",
"FilterProfoundAnswerEngineInsightsFiltersRegionIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersTopicIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersModelIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersTagIDFilter",
"FilterProfoundAnswerEngineInsightsFiltersPersonaIDFilter",
]


class ReportSentimentParams(TypedDict, total=False):
Expand Down Expand Up @@ -110,15 +115,59 @@ class FilterThemeFilter(TypedDict, total=False):
value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersRegionIDFilter(TypedDict, total=False):
field: Required[Literal["region_id", "region"]]
"""- `region` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersTopicIDFilter(TypedDict, total=False):
field: Required[Literal["topic_id", "topic"]]
"""- `topic` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersModelIDFilter(TypedDict, total=False):
field: Required[Literal["model_id", "model"]]
"""- `model` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersTagIDFilter(TypedDict, total=False):
field: Required[Literal["tag_id", "tag"]]
"""- `tag` - Deprecated"""

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


class FilterProfoundAnswerEngineInsightsFiltersPersonaIDFilter(TypedDict, total=False):
field: Required[Literal["persona_id"]]

operator: Required[Literal["is", "not_is", "in", "not_in"]]

value: Required[Union[str, SequenceNotStr[str]]]


Filter: TypeAlias = Union[
FilterAssetIDFilter,
AssetNameFilter,
FilterThemeFilter,
RegionIDFilter,
TopicIDFilter,
FilterProfoundAnswerEngineInsightsFiltersRegionIDFilter,
FilterProfoundAnswerEngineInsightsFiltersTopicIDFilter,
TopicNameFilterParam,
ModelIDFilter,
TagIDFilter,
FilterProfoundAnswerEngineInsightsFiltersModelIDFilter,
FilterProfoundAnswerEngineInsightsFiltersTagIDFilter,
PromptFilter,
PersonaIDFilter,
FilterProfoundAnswerEngineInsightsFiltersPersonaIDFilter,
]
Loading
Loading