Skip to content
Merged
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 .roe-main-release-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1-1-1
1-0-86
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A Python SDK for the [Roe](https://www.roe-ai.com/) API.

<!-- ROE-SDK:RELEASE-BANNER:START -->
> **v1.1.1** - SDK operation coverage is synchronized across Python,
> **v1.1.2** - SDK operation coverage is synchronized across Python,
> TypeScript, and Go. See `SDK_EXAMPLES.md` for copy-ready examples and
> use cases.
<!-- ROE-SDK:RELEASE-BANNER:END -->
Expand Down
195 changes: 194 additions & 1 deletion SDK_EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,21 @@ result = client.agents.jobs.retrieve_status_many(
)
```

#### `agents_jobs_artifacts_result_retrieve`

Get tool result artifact (result only)

```python
from roe import RoeClient

client = RoeClient()

result = client.agents.jobs.retrieve_artifact(
job_id="job_id", # required
artifact_key="artifact_key", # required
)
Comment thread
greptile-apps[bot] marked this conversation as resolved.
```

#### `agents_jobs_references_retrieve`

Serve a reference file associated with an agent job.
Expand Down Expand Up @@ -305,7 +320,7 @@ result = client.agents.duplicate(

#### `agents_jobs_cancel_all_create`

Cancel all agent jobs
Cancel all running agent jobs (:cancelAll)

```python
from roe import RoeClient
Expand Down Expand Up @@ -615,6 +630,184 @@ client = RoeClient()
result = client.discovery.list_agent_engine_types()
```

### Knowledge Base

#### `knowledge_base_list`

List all KBs for the org, or start a new draft.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.list()
Comment thread
greptile-apps[bot] marked this conversation as resolved.
```

#### `knowledge_base_create`

List all KBs for the org, or start a new draft.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.create(
company="company",
brief="brief",
)
```

#### `knowledge_base_catalog_retrieve`

Names-only typology+tactic catalog.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.catalog()
```

#### `knowledge_base_import_lens_create`

Import a finalized Atlas lens into roe-main by its atlas_lens_id.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.import_lens("atlas_lens_id")
```

#### `knowledge_base_lens_retrieve`

Fetch a lens directly from Atlas by its atlas_lens_id and return the
names-only projection.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.lens_by_atlas_id("atlas_lens_id")
```

#### `knowledge_base_destroy`

Get or delete a single KB.

```python
from roe import RoeClient

client = RoeClient()

client.knowledge_base.delete("knowledge_base_id")
```

#### `knowledge_base_retrieve`

Get or delete a single KB.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.retrieve("knowledge_base_id")
```

#### `knowledge_base_draft_retrieve`

Poll the atlas draft.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.poll_draft("knowledge_base_id")
```

#### `knowledge_base_finalize_create`

Commit the agreed selection into a lens and mark the KB active.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.finalize("knowledge_base_id")
```

#### `knowledge_base_regenerate_create`

Kick off another async generation round with feedback.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.regenerate("knowledge_base_id")
```

#### `knowledge_base_resolve_create`

Approve or decline a pending regeneration proposal.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.resolve("knowledge_base_id")
```

#### `knowledge_base_selection_partial_update`

Persist hand-edits to the working selection (typology + tactic opt-in/out).

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.patch_selection(
"knowledge_base_id",
refs=[],
)
```

#### `knowledge_base_sync_create`

Standalone best-effort lens sync (display mode).

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.sync("knowledge_base_id")
```

#### `knowledge_base_unlink_destroy`

Unlink a knowledge base: remove the local KnowledgeBase row only, leaving
the Atlas lens (and any in-progress draft) untouched.

```python
from roe import RoeClient

client = RoeClient()

client.knowledge_base.unlink("knowledge_base_id")
```

### Policies

#### `policies_list`
Expand Down
Loading
Loading